Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Opening multiple programs asynchronously

Name: Anonymous 2009-03-17 17:38

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: Anonymous 2009-03-17 17:45

Double-click on the icon repeatedly

Name: Anonymous 2009-03-17 17:45

2 words: batch file.

Name: Anonymous 2009-03-17 17:46

>>1
If I were on *nix it would write a simple shell script with &
Fixed that for you.

Name: Anonymous 2009-03-17 17:55

You could make a batch file or a program that runs the file repeatedly.  Just look at Windows documentation on the subject.

Name: Anonymous 2009-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?

Name: Anonymous 2009-03-17 18:31

>>6
Make a C# program if you want; there set-up for executing is very easy and well-documented.

Name: Anonymous 2009-03-17 18:39

START

And >>7, DON'T HELP HIM!!!

Name: Anonymous 2009-03-17 18:47

And >>8, GO BACK TO /b/!!!

Name: Anonymous 2009-03-17 18:52

>>6
I wonder what start.exe does.

Name: Anonymous 2009-03-17 19:22

>>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: Anonymous 2009-03-17 19:24

>>11
That doesn't look like C#!  Next time, try the ENTERPRISE SOLUTION!

Name: Anonymous 2009-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

Name: Anonymous 2009-03-17 20:03

Use the motherfucking ERLANG already!

Name: Anonymous 2009-03-18 6:06

Resurrection bump

Name: Anonymous 2010-12-10 1:57

<

Name: Anonymous 2010-12-25 5:07

Name: Anonymous 2013-01-19 14:36

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Don't change these.
Name: Email:
Entire Thread Thread List