2
0
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:
Jarrod Johnson 2022-10-13 10:56:59 -04:00 committed by GitHub
commit 4486fb5f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')