0

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

Rafa
  • 15
  • 4
  • You must at least show your command line! – Maximus Mar 21 '14 at 10:44
  • Hi, Maximus. I've added the CLI. I just want to know how to set ConEmu to never close its window after the script finishes when started from ConEmu CLI. Mitty does it by -h always parameter. – Rafa Mar 21 '14 at 11:07
  • I just solved the problm by adding "sleep 365d" to my bash script. Thanks – Rafa Mar 21 '14 at 11:36

1 Answers1

1

You may use following syntax

ConEmu.exe /cmd C:\mybin\sh.exe my_script.sh -cur_console:c
Maximus
  • 10,751
  • 8
  • 47
  • 65