User Details
- User Since
- Nov 2 2018, 10:53 AM (344 w, 4 d)
- Availability
- Available
Nov 8 2018
@jambon I agree that the user can just invoke other shells but the user would probably find it easier to use if he knows what the default is, displaying it somewhere in the user interface would probably make it easier to use.
You should explicitly tell the user somewhere on the interface that cmd is being used to run the commands, since windows has many shells with entirely different syntax.
Maybe we can provide an option to select the shell. Basically an input box to fill the value of COMMAND and ARGS variable in the above code.
Nov 6 2018
cmd /C command-goes-here can be used to run command line commands on windows.
An C++ api is mentioned in this stack overflow question.
Windows contains several shells like cmd, powershell and wsl, so we may need to handle that.