use G_SPAWN_SEARCH_PATH

This commit is contained in:
Daniel Micay 2012-05-23 23:44:37 -04:00
parent ae5857c944
commit 4dc5aedbe7
1 changed files with 4 additions and 4 deletions

View File

@ -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);