-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
Describe the bug
CMD version of the command line doesn't work
The current line
sCommand = 'CMD.EXE /C "' | sCommand | '" 1> ' | cCmdOutputFile | ' 2>&1';
Expected line
sCommand = 'CMD.EXE /C "' | sCommand | ' > "' | cCmdOutputFile | '" 2>&1"';
Description of changes
1>
- it doesn't make sense in CMDThe whole statement
after CMD.EXE /C should be included in double quotes, not the onlysCommand
cCmdOutputFile
may contain spaces, so it also needs to be enclosed in double quotes