refs #1770 do subprocess.run(bash,script)
parent
9b1985fd8c
commit
160e4abad1
|
@ -34,7 +34,7 @@ with open (ogGlobals.OGLOGFILE, 'a') as logfd:
|
|||
|
||||
os.chmod (script_path, 0o755)
|
||||
# Si mandamos la salida a OGLOGCOMMAND reescribimos lo que manda el comando.
|
||||
RETVAL = subprocess.run (script_path, capture_output=True, text=True).returncode
|
||||
RETVAL = subprocess.run (['bash', script_path], capture_output=True, text=True).returncode
|
||||
|
||||
|
||||
TIME = time.time() - TIME1
|
||||
|
|
Loading…
Reference in New Issue