]> git.sesse.net Git - vlc/commitdiff
* src/extras/libc.c:vlc_execve() : Do not open a new window under Win32.
authorChristophe Massiot <massiot@videolan.org>
Tue, 30 Aug 2005 11:59:24 +0000 (11:59 +0000)
committerChristophe Massiot <massiot@videolan.org>
Tue, 30 Aug 2005 11:59:24 +0000 (11:59 +0000)
src/extras/libc.c

index 903ceefd02150ea24be09996aa8947e4326690da..b74647470faf8a08422eb526058e705b5a1ef2f2 100644 (file)
@@ -987,7 +987,8 @@ int __vlc_execve( vlc_object_t *p_object, int i_argc, char **ppsz_argv,
     siStartInfo.hStdError = hChildStdoutWr;
     siStartInfo.hStdOutput = hChildStdoutWr;
     siStartInfo.hStdInput = hChildStdinRd;
-    siStartInfo.dwFlags |= STARTF_USESTDHANDLES;
+    siStartInfo.wShowWindow = SW_HIDE;
+    siStartInfo.dwFlags |= STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
 
     /* Set up the command line. */
     psz_cmd = malloc(32768);