cmd: Fix regression around prompting during copy.
This commit is contained in:
parent
36f2b09632
commit
270163f380
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue