Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConEmu's new "default terminal" feature appears to break flow control if you're using a batch file that is synchronously waiting for a launched cmd window (start /w) to exit #1858

Open
Maximus5 opened this issue Jul 31, 2015 · 4 comments

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1859

OS version: Windows 8.1 x64
ConEmu version: 141221

*Bug description*
A build environment I work with uses a batch file that uses "start /w" to launch separate
cmd windows and processes the exit code to continue to the next step. This worked fine
in older versions of ConEmu (it would launch a regular cmd window outside of ConEmu).


This appears to no longer work with the new Default terminal feature.

Repro:

Use the following batch file:

@echo off
echo Step 1... shouldn't proceed to step 2 until the launched window is closed
start /w
echo Step 2... shouldn't proceed to step 3 until the launched window is closed
start /w 
echo Step 3.. done!

If this batch file is run in a regular cmd.exe process, it will stop at each step until
the window is closed. In ConEmu, it launches each window asynchronously and proceeds
immediately.

Reported by goodcool on 2015-01-07 21:17:26

@Maximus5
Copy link
Owner Author

Attaching ConEmu.xml (I've stripped out some private information but it should still
represent my configuration)

Reported by goodcool on 2015-01-07 21:22:01


- _Attachment: [conemu.xml](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1859/comment-1/conemu.xml)_

@Maximus5
Copy link
Owner Author

One final comment, this issue does not reproduce in 131115.

Reported by goodcool on 2015-01-07 23:38:51

@Maximus5
Copy link
Owner Author

You may disable start processing in options.

Reported by ConEmu.Maximus5 on 2015-01-08 01:59:22


- _Attachment: 2015-01-08_04-59-25.png
![2015-01-08_04-59-25.png](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1859/comment-3/2015-01-08_04-59-25.png)_

@Maximus5
Copy link
Owner Author

Perfect. I could have sworn I looked through every option page and didn't see this.
Thank you for such a great tool!

Reported by goodcool on 2015-01-08 18:39:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant