mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-28 11:57:37 +00:00
Merge pull request #86 from erderial/patch-4
changed subprocess .run to Popen
This commit is contained in:
commit
4486fb5f81
@ -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…
x
Reference in New Issue
Block a user