You are here

Starting in menu opens two extra console windows on Windows 8

3 posts / 0 new
Last post
thasmo
Offline
Last seen: 5 years 8 months ago
Joined: 2011-01-14 14:01
Starting in menu opens two extra console windows on Windows 8

Hi there!

When starting Cygwin Portable on Windows 8 using the PortableApps menu two additional, unwanted console windows open. When starting it manually/directly using the CygwinPortable.exe in the directory '\PortableApps\CygwinPortable' only the Cygwin terminal opens.

I noticed this when I upgraded to Windows 8 - on Windows 7 it does work normally when starting it using the menu.

I've played around with the launcher configuration, especially with the options 'HideCommandLineWindow' and 'RunAsAdmin' but it doesn't seem to affect it.

Here's the launcher configuration which works well on Windows 7:
https://github.com/thasmo/portableapps.cygwin/blob/master/App/AppInfo/La...

I'm using a batch file to set some environment variables, before starting the mintty terminal executable.

Does anybody know why it would display/open two additional, unwanted command-line windows (cmd.exe) when starting the app using the menu on Windows 8?

Thanks for help on this! Smile
Thanks a lot!

darksabre76
darksabre76's picture
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2011-04-19 23:28
Environment in Launcher

You can actually set environment variables right in the .ini you linked to. Check out this part of the documentation. Also, it may help you to look at "WorkingDirectory" under Launch.

thasmo
Offline
Last seen: 5 years 8 months ago
Joined: 2011-01-14 14:01
Hi there! I've tried using

Hi there!

I've tried using many of the launcher configuration directives,
but in the end only setting Compatibility Mode manually to "Windows 7" for "mintty.exe" inside the directory "/App/Cygwin/bin/".

Weird thing is that if I execute CygwinPortable.exe directly (not starting it via the menu) all works well. Only when executing the app via menu opens two additional command windows.

Log in or register to post comments