mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 07:44:38 +02:00
Let openconnect output go to stdout
This commit is contained in:
+1
-1
@@ -361,7 +361,7 @@ def main():
|
||||
cmd = shlex.split(cmd)
|
||||
cmd = [os.path.expandvars(os.path.expanduser(x)) for x in cmd]
|
||||
pp = subprocess.Popen(shlex.split(pcmd), stdout=subprocess.PIPE)
|
||||
cp = subprocess.Popen(cmd, stdin=pp.stdout, stdout=subprocess.PIPE)
|
||||
cp = subprocess.Popen(cmd, stdin=pp.stdout, stdout=sys.stdout)
|
||||
pp.stdout.close()
|
||||
cp.communicate()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user