On Mon, 17 Jan 2011 23:52:58 +0100, Bo Berglund wrote:
So far so good, but when I read the help on TProcess it says that
this
property applies only to Windows. So what happens on Linux?
Will the console show up on screen then?
Or is it automatically hidden in Linux?
There is nothing to hide on *nix. STDOUT is available for all processes
and if that gets used by any tty is another matter. Want a console? Run
the tool inside a console. Don't want one? Don't run it inside a
console.
It's (afaik) only Windows (or PE for that matter) that has this (kinda)
stupid flag to distinguish between a console app and a GUI app.
Just as side node: even Microsoft has to work around this design
decision for VisualStudio (and maybe other tools) that should behave
differently if run from commandline or from GUI. Because in the first
case they should only output to the cmd and not show any window and in
the latter case they should show a window and not use stdout.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus