mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-01-08 18:57:33 +01:00
Update run.py from pymodules
This commit is contained in:
parent
fe2aa87897
commit
a01c885a59
@ -69,7 +69,8 @@ class Run:
|
||||
return (output+o, error+e, p.returncode)
|
||||
except:
|
||||
if p:
|
||||
o, e = p.communicate()
|
||||
try: o, e = p.communicate()
|
||||
except: o = e = ""
|
||||
return (output+o, error+e, p.returncode)
|
||||
return ("", "Command not found!", 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user