Merge pull request #138 from Philipp91/master
Fix SyntaxError in utils.py
This commit is contained in:
commit
3222cfe4d9
|
@ -184,14 +184,13 @@ def popenRead(dn, cmd, prefs, bash_pref, success_results=None):
|
||||||
info = None
|
info = None
|
||||||
if _use_flatpak():
|
if _use_flatpak():
|
||||||
cmd = ['flatpak-spawn', '--host'] + cmd
|
cmd = ['flatpak-spawn', '--host'] + cmd
|
||||||
with (subprocess.Popen(
|
with subprocess.Popen(
|
||||||
cmd,
|
cmd,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
cwd=dn,
|
cwd=dn,
|
||||||
startupinfo=info) as proc
|
startupinfo=info) as proc:
|
||||||
):
|
|
||||||
proc.stdin.close()
|
proc.stdin.close()
|
||||||
proc.stderr.close()
|
proc.stderr.close()
|
||||||
fd = proc.stdout
|
fd = proc.stdout
|
||||||
|
|
Loading…
Reference in New Issue