Question

Gurus

I am using using ConEmu command line to run a shell script in ConEmu. However ConEmu always exits after the script completes. Is there any way to make ConEmu work like "mintty -h always" which keeps the Window open?

ConEMU CLI:

ConEMU.exe /cmd C:\mybin\sh.exe my_script.sh

I wish it holds window like:

mintty.exe -h always -e C:\mybin\bash.exe my_script.sh

Thanks

Was it helpful?

Solution

You may use following syntax

ConEmu.exe /cmd C:\mybin\sh.exe my_script.sh -cur_console:c
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top