Skip to content

Commit

Permalink
odak.tools.shell_command is revised.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaanaksit committed Apr 30, 2023
1 parent c066f79 commit 07d557a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odak/tools/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def shell_command(cmd, cwd = '.', timeout = None, check = True):
if check == False:
return proc, None, None
try:
outs, errs = proc.communicate(timeout=timeout)
outs, errs = proc.communicate(timeout = timeout)
except subprocess.TimeoutExpired:
proc.kill()
outs, errs = proc.communicate()
Expand Down

0 comments on commit 07d557a

Please sign in to comment.