-
Notifications
You must be signed in to change notification settings - Fork 79
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 statementafter CMD.EXE /C should be included in double quotes, not the onlysCommandcCmdOutputFilemay contain spaces, so it also needs to be enclosed in double quotes