문제

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