mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
common/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD
This commit is contained in:
parent
87dbdba672
commit
c646343c1d
1 changed files with 3 additions and 2 deletions
|
|
@ -12,8 +12,9 @@ spawn_async_no_shell(char const *command)
|
||||||
g_error_free(err);
|
g_error_free(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL,
|
g_spawn_async(NULL, argv, NULL,
|
||||||
&err);
|
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL,
|
||||||
|
NULL, &err);
|
||||||
if (err) {
|
if (err) {
|
||||||
g_message("%s", err->message);
|
g_message("%s", err->message);
|
||||||
g_error_free(err);
|
g_error_free(err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue