3

I have an existing .bat file which uses the start command to launch multiple tasks, e.g.:

start cmd.exe /k "echo task 1"
start cmd.exe /k "echo task 2"
start cmd.exe /k "echo task 3"

What happens is that ConEmu attaches only to the cmd.exe executing the .bat file, other cmd.exe instances start off as stand-alone windows:

conemu start sample scenario

I want the standalone started windows to be attached to ConEmu. I'm aware that I can achieve it by modifying the batch script, but I don't want to do that because the script is shared with other people that don't necessarily use ConEmu.

4

Considering this is proper behavior request. So build 141117 forces start cmd into new ConEmu tab.

  • Is there anyway to modify this new behavior? Problem: I run tcc scripts. Sometimes in the tcc script, I use cmd to launch an app with a clean environment. So now I get a new conemu tab AND the tab won't always go away because it complains the session lasted less that 10 sec. I launch cmd with the /min flag so I basically never saw the console before this change. – RichT77 Nov 21 '14 at 15:56
  • I agree with you in the sense that there should be a way to disable the 10sec time limit. I'm sure @Maximus can help here... – m0sa Nov 21 '14 at 17:07
  • @Maximus it doesn't work in version 141126 and 141130 anymore – m0sa Dec 1 '14 at 19:08
  • It is working on my side. – Maximus Dec 1 '14 at 22:36
  • Simple test: Win+R -> ConEmu -basic -cmd cmd -> start cmd. – Maximus Dec 1 '14 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.