Line 0
Link Here
|
|
|
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", |