Skip to content

Commit

Permalink
Fix bug when running non-RPA scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mbalslow committed Dec 2, 2021
1 parent fe88327 commit 00c3553
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import glob
import subprocess
import pytz
import shlex
import psutil
from time import sleep
from json import dumps, loads
Expand Down Expand Up @@ -337,7 +338,7 @@ def run_executions(url, username, password, items):

else:
subprocess.run(
[item['app'], item['botflow']],
[item['app']] + shlex.split(item['botflow'], posix=False),
timeout=(int(item['timeout_minutes']) * 60),
cwd=path.dirname(item['botflow']) if item['is_file'] else path.dirname(item['app']),
stdout=executor_log
Expand Down

0 comments on commit 00c3553

Please sign in to comment.