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

Incompatible switches: UpdateJumpList & Exit #1478

Open
DominikJaniec opened this Issue Mar 14, 2018 · 0 comments

Comments

2 participants
@DominikJaniec
Copy link

commented Mar 14, 2018

Versions

ConEmu build: 180206 [64]
OS version: Windows 10.0.16299 [64]
ConEmu installed via Chocolatey: https://chocolatey.org/packages/ConEmu

Problem description

When both switches (-UpdateJumpList & -Exit) are used I get popup with error message and apparently no Jump List links are setup in Windows. Error message says: CoInitialize has not been called - probably, because I have localized version of this message, even though ConEmu is in English:
error

Steps to reproduce

As described here: https://conemu.github.io/en/ConEmuArgs.html I would like to use switch UpdateJumpList for automated ConEmu integration with Windows. Also I would like to use switch Exit for automatic exit after this setup actions.

I have PowerShell script which save prepared ConEmu.xml file under path: ~\AppData\Roaming and calls:

    & ConEmu64.exe -UpdateJumpList -Exit

I would expect that, Windows' Jump List Links will be setup according to defined tasks in configuration file. Then, ConEmu should close itself, so it would not float around - just cosmetic stuff, but nice for scripted full Windows environment preparation.

As workaround I'm using this kind of execution:

    & ConEmu64.exe -UpdateJumpList -run exit

It is working but I'm forced to push Enter twice. First one is to acknowledge popup with information that: Takbar jump list was updated successfully,, then second one is to acknowledge that: Root process was alive less than 10 sec, ExitCode=0., and finally ConEmu closes it self - as my configuration says.
info

Additional files

ConEmu.xml.zip

@Maximus5 Maximus5 added the settings label Mar 15, 2018

@Maximus5 Maximus5 added this to To Do in ConEmu via automation Mar 15, 2018

@Maximus5 Maximus5 moved this from To Do to In progress in ConEmu Mar 15, 2018

@Maximus5 Maximus5 moved this from In progress to Ready for Testing in ConEmu Mar 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.