pluginloader-win32: create no window

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8354>
This commit is contained in:
Rares Branici 2025-01-23 19:48:28 +00:00
parent a6eb1de87d
commit 345eae97d4

View file

@ -348,8 +348,8 @@ gst_plugin_loader_try_helper (GstPluginLoader * self, gchar * location)
GST_LOG ("Trying to spawn gst-plugin-scanner helper at %s, command %s",
location, cmd);
ret = CreateProcessW (NULL, (WCHAR *) wcmd, NULL, NULL, FALSE,
CREATE_UNICODE_ENVIRONMENT, (LPVOID) self->env_string, NULL, &si,
&self->child_info);
CREATE_UNICODE_ENVIRONMENT | CREATE_NO_WINDOW, (LPVOID) self->env_string,
NULL, &si, &self->child_info);
if (!ret) {
last_err = GetLastError ();