Ticket #3444: patch-lib_utilunix.c
File patch-lib_utilunix.c, 538 bytes (added by woodsb02, 9 years ago) |
---|
Line | |
---|---|
1 | --- lib/utilunix.c.orig 2015-04-12 03:04:27 UTC |
2 | +++ lib/utilunix.c |
3 | @@ -528,7 +528,7 @@ mc_popen (const char *command, GError ** |
4 | goto ret_err; |
5 | } |
6 | |
7 | - if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, |
8 | + if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, |
9 | &p->child_pid, NULL, &p->out.fd, &p->err.fd, error)) |
10 | { |
11 | mc_replace_error (error, MC_PIPE_ERROR_CREATE_PIPE_STREAM, "%s", |