spawnCommandLineAsync

fnbool spawnCommandLineAsync(string commandLine)

A simple version of [glib.global.spawnAsync] that parses a command line with [glib.global.shellParseArgv] and passes it to [glib.global.spawnAsync].

Runs a command line in the background. Unlike [glib.global.spawnAsync], the G_SPAWN_SEARCH_PATH flag is enabled, other flags are not. Note that G_SPAWN_SEARCH_PATH can have security implications, so consider using [glib.global.spawnAsync] directly if appropriate. Possible errors are those from [glib.global.shellParseArgv] and [glib.global.spawnAsync].

The same concerns on Windows apply as for [glib.global.spawnCommandLineSync].

Parameters

commandLinea command line

Returns

true on success, false if error is set

Throws

[ErrorWrap]