On 24.3.2019 19.36, Bart wrote:
On Sun, Mar 24, 2019 at 6:10 PM Joost van der Sluis <jo...@cnoc.nl> wrote:

Note: I see several times a window (console?) flash when starting up
Lazarus now.
Maybe add poNoConsole to ProcessOptions ?
It's a bit annoying now.

Can you test if this actually works on Windows (on Linux this is not an
issue)

I added poNoConsole to the 2 occasions of TProcessUtf8 I could fine in
InitialSetupDlg, but I still see 2 console windows flashing by.

Adding [poNoconsole] may also prevent the program in question to write
output to StdOut?
But since we're using pipes, that should not matter?

Sorry, I just never use that stuff in my programs.

Bart


Does adding clauses for TProcess.StartupOptions := [suoUseShowWindow] and TProcess.ShowWindow := swoHIDE help?

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to