blob: e86bb63df7f71330074cff03bf0d177490221645 (
plain) (
tree)
|
|
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()
|