refs #1770 do subprocess.run(bash,script)

pull/11/head
Natalia Serrano 2025-03-26 11:52:25 +01:00
parent 9b1985fd8c
commit 160e4abad1
1 changed files with 1 additions and 1 deletions

View File

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