Morten Nilsen wrote:

> running mozilla -help won't start up any GUI...

No, the problem is that Windows has two sorts of apps, GUI apps and 
console apps. The big difference is what Windows does to start the app - 
Windows makes sure that a console app has a console (unless you specify 
detached console in CreateProcess) while it makes sure that a GUI app 
does not have a console, and closes its stdin/stdout/stderr :-( GUI apps 
can of course create a dynamic console (mozilla -console) although this 
will go away when the app exits. If a console app is started from an app 
without a console a new console is created for the duration of the app. 
If a console app is started from an app with a console it uses that 
console unless you set the flags in CreateProcess, and the console 
output is still available after the second app exits.


Reply via email to