use G_SPAWN_SEARCH_PATH
This commit is contained in:
parent
ae5857c944
commit
4dc5aedbe7
|
@ -108,7 +108,7 @@ int main(int argc, char **argv) {
|
||||||
GPid ppid;
|
GPid ppid;
|
||||||
|
|
||||||
if (g_spawn_async(NULL, command_argv, NULL,
|
if (g_spawn_async(NULL, command_argv, NULL,
|
||||||
G_SPAWN_DO_NOT_REAP_CHILD,
|
G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
|
||||||
(GSpawnChildSetupFunc)vte_pty_child_setup, pty,
|
(GSpawnChildSetupFunc)vte_pty_child_setup, pty,
|
||||||
&ppid, &error)) {
|
&ppid, &error)) {
|
||||||
vte_terminal_watch_child(VTE_TERMINAL(vte), ppid);
|
vte_terminal_watch_child(VTE_TERMINAL(vte), ppid);
|
||||||
|
|
Loading…
Reference in New Issue