David Smitmanis f8f75503b7 pluginloader-win32: Correctly handle whitespace paths when executing gst-plugin-scanner
On Windows, if the path to gst-plugin-scanner.exe contained
whitespace, gstreamer would via CreateProcessW attempt to execute
several files "up" the path tree; e.g. if the scanner path was
"C:\Program Files\gstreamer app\gst-plugin-scanner.exe", it would try
to execute C:\Program, C:\Program.exe, C:\Program Files\gstreamer.exe"
and so on.

This is how CreateProcessW behaves with unquoted whitespace arguments
in lpCommandLine if lpApplicationName is NULL.

By passing the binary path as lpApplicationName instead, the problem
is avoided.

Also quote arguments to gst-plugin-scanner.exe as they are paths as well.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8614>
2025-03-25 21:58:00 +00:00
..
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2022-11-09 16:03:58 +00:00
2022-12-20 14:03:35 +00:00
2024-10-25 08:58:29 +00:00
2023-01-24 15:25:05 +00:00
2024-10-03 11:47:45 +02:00
2025-02-20 12:48:45 +00:00
2024-02-20 19:16:54 +00:00
2024-02-20 19:16:54 +00:00
2022-10-22 22:06:13 +09:00
2023-01-24 15:25:05 +00:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2024-10-25 08:58:29 +00:00
2023-06-22 23:24:58 +00:00
2024-10-25 08:58:29 +00:00
2024-09-26 19:26:18 +03:00
2024-07-30 00:06:50 +00:00