Relay CMD command to Bash
It gets its own program name and running parameters to splice into bash.exe -c "<Program Name> <Running Parameters>"
, and create a bash.exe
process with this command.
Download the Source file(CMD_to_Bash.cpp) and compile it or download the Pre-built Executable file from release, rename the executable file to any bash command you want to use, such as ssh.exe
, openssl.exe
, and execute it in CMD, just as you would in a bash environment.
Since my knowledge of C/C++ language is very poor, you are welcome to PR and continuously optimize this project. Thank you very much for your contribution.