Module: wine Branch: master Commit: 270163f38086c231926f96516b9dca31097a90f0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=270163f38086c231926f96516b...
Author: Jason Edmeades jason@edmeades.me.uk Date: Thu Oct 4 09:57:33 2012 +0100
cmd: Fix regression around prompting during copy.
---
programs/cmd/wcmdmain.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 3c18356..5109ecf 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -1162,7 +1162,10 @@ void WCMD_run_program (WCHAR *command, BOOL called)
/* Special case BAT and CMD */ if (ext && (!strcmpiW(ext, batExt) || !strcmpiW(ext, cmdExt))) { + BOOL oldinteractive = interactive; + interactive = FALSE; WCMD_batch (thisDir, command, called, NULL, INVALID_HANDLE_VALUE); + interactive = oldinteractive; return; } else {