mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
changed subprocess .run to Popen
changed subprocess .run to Popen to open separate subprocesses for simultaneous run of console windows.
This commit is contained in:
parent
23ec46bb8b
commit
dc62fc3f51
@ -64,7 +64,8 @@ if options.windowed:
|
||||
sys.exit(1)
|
||||
nodes.append(node)
|
||||
for node in sortutil.natural_sort(nodes):
|
||||
subprocess.call(['xterm', '-e', 'nodeconsole', node])
|
||||
sub = subprocess.Popen(['xterm', '-e', 'nodeconsole', node])
|
||||
out,err = sub.communicate()
|
||||
#end of wcons
|
||||
if options.tile:
|
||||
null = open('/dev/null', 'w')
|
||||
|
Loading…
Reference in New Issue
Block a user