A simple version of
g_spawn_async() that parses a command line with
g_shell_parse_argv() and passes it to g_spawn_async().
Runs a command line in the background. Unlike g_spawn_async(), the
G_SPAWN_SEARCH_PATH flag is enabled, other flags are not. Note
G_SPAWN_SEARCH_PATH can have security implications, so
g_spawn_async() directly if appropriate. Possible
errors are those from
g_shell_parse_argv() and g_spawn_async().
The same concerns on Windows apply as for g_spawn_command_line_sync().
A command line.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will left initialized to
NULLby the function if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.