diff options
Diffstat (limited to 'server/rush.py')
-rw-r--r-- | server/rush.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/server/rush.py b/server/rush.py index e86bb63..f01804c 100644 --- a/server/rush.py +++ b/server/rush.py @@ -2,9 +2,11 @@ from subprocess import Popen procs = [] try: - for i in xrange(100): - procs.append(Popen(["python", "client.py"])) - while True: pass + for i in xrange(10): + p = Popen(["python", "client.py", str(i)]) + procs.append(p) + #p.wait() + print "done" except KeyboardInterrupt: print "killing" |