Rafa
Rafa

Reputation: 15

How to hold ConEmu window from exiting?

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

Upvotes: 0

Views: 1303

Answers (1)

Maximus
Maximus

Reputation: 10847

You may use following syntax

ConEmu.exe /cmd C:\mybin\sh.exe my_script.sh -cur_console:c

Upvotes: 1

Related Questions