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!
Thanks a lot!
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.
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.