summaryrefslogtreecommitdiff
path: root/server/rush.py
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-23 20:59:14 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-23 20:59:14 +0800
commit12b1d4bc7e56c7de8bf325f702cff1ae114c4db0 (patch)
treebfb3b1c60622da6de0e6a5d1d2f258eadeff12c3 /server/rush.py
parent34692fa869ae60e7c35e196542941df845e1fee7 (diff)
implemented more in spec
Diffstat (limited to 'server/rush.py')
-rw-r--r--server/rush.py8
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"