Hi /prog/, I'm working on a networked program that has a server and clients. Due to this, I often find it tedious to start the server and several clients to test something. I'm looking for a simple easy way to write a program that opens the server and the clients for easy testing. If I were on *nix it would write a simple C program with a couple forks(), but alas, I'm developing on windows and I don't know much about windows threading. Can someone help me out?
Name:
Anonymous2009-03-17 17:45
Double-click on the icon repeatedly
Name:
Anonymous2009-03-17 17:45
2 words: batch file.
Name:
Anonymous2009-03-17 17:46
>>1
If I were on *nix it would write a simple shell script with &
Fixed that for you.
You could make a batch file or a program that runs the file repeatedly. Just look at Windows documentation on the subject.
Name:
Anonymous2009-03-17 18:29
>>3 >>5
My experience with windows batch files has always been that they will execute a program, then wait for it to exit before executing the next. What command makes them execute without waiting for it to exit? >>4
Yea I don't really know unix shell scripting, the syntax of some of much of it looks a bit hairy, and I know I won't use it enough to remember it. Easier to go with what I know ya know?
>>8
Thanks for the help /prog/. It may amuse you to know that to test it out I used the following batch file which bombed my system so hard I almost restarted(named as test.bat):
start cmd
start cmd
start cmd
test.bat
start cmd
start cmd
start cmd
Name:
Anonymous2009-03-17 19:24
>>11
That doesn't look like C#! Next time, try the ENTERPRISE SOLUTION!
Name:
Anonymous2009-03-17 19:27
fuck you all cunts motheruckers uselessl rpgrammers all you do is trool bullshituw g pile of shit odn't even kknow why i read iths sitthy board fuck uou