Skip to content

Commit

Permalink
Re-introduce STDIN/OUT pipes and add shell
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Dec 30, 2020
1 parent a7af9b8 commit 20d730c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions weblate/utils/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,11 @@ def database_backup():
subprocess.run(
cmd,
env=env,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stdin=subprocess.DEVNULL,
check=True,
shell=True,
universal_newlines=True,
)
except subprocess.CalledProcessError as error:
Expand Down

0 comments on commit 20d730c

Please sign in to comment.