Skip to content

Commit

Permalink
fix: change shell option in open_proc call to false
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Jan 23, 2025
1 parent c67fa6c commit 40a7794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transcribe_anything/whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def run_whisper( # pylint: disable=too-many-arguments
# cmd = " ".join(cmd_list)
cmd = subprocess.list2cmdline(cmd_list)
sys.stderr.write(f"Running:\n {cmd}\n")
proc = env.open_proc(cmd_list, shell=True)
proc = env.open_proc(cmd_list, shell=False)
while True:
rtn = proc.poll()
if rtn is None:
Expand Down

0 comments on commit 40a7794

Please sign in to comment.