Domanda

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

È stato utile?

Soluzione

You may use following syntax

ConEmu.exe /cmd C:\mybin\sh.exe my_script.sh -cur_console:c
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top