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

有帮助吗?

解决方案

You may use following syntax

ConEmu.exe /cmd C:\mybin\sh.exe my_script.sh -cur_console:c
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top