summaryrefslogtreecommitdiff
path: root/server/rush.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/rush.py')
-rw-r--r--server/rush.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/rush.py b/server/rush.py
new file mode 100644
index 0000000..e86bb63
--- /dev/null
+++ b/server/rush.py
@@ -0,0 +1,12 @@
+from subprocess import Popen
+procs = []
+
+try:
+ for i in xrange(100):
+ procs.append(Popen(["python", "client.py"]))
+ while True: pass
+
+except KeyboardInterrupt:
+ print "killing"
+ for p in procs:
+ p.kill()