Skip to content

Commit

Permalink
Fix quoting for Windows terminal
Browse files Browse the repository at this point in the history
Amends e2f7f56.
  • Loading branch information
remram44 committed Jul 31, 2018
1 parent 31f18e1 commit ec0d717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reprounzip-qt/reprounzip_qt/reprounzip_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,11 @@ def run_in_system_terminal(cmd, env={},
return None
elif system == 'windows':
if not close_on_success:
cmd = cmd + ' & pause'
cmd = cmd + ' ^& pause'
subprocess.check_call(
'start%s cmd /c %s' % (
' /wait' if wait else '',
win_escape(cmd),
cmd,
),
shell=True)
return None
Expand Down

0 comments on commit ec0d717

Please sign in to comment.