My Technical Notes

Sunday, 20 December 2015

ConEmu: Prevent it from intercepting new console launches

By default, ConEmu will intercept any console launched and put it in a new tab. This was stopping my PowerShell script from functioning properly.

To prevent ConEmu from intercepting, go to `Settings` → `Features` (on left) →. Under `In-console options`, untick `Inject ConEmuHk`.

EDIT: Note that it `Inject ConEmuHk` is necessary for intercepting applications like `less.exe` which are run in the current tab. See ConEmu FAQ answer for it.

No comments: