Cannot create pipe streams
https://github.com/MidnightCommander/mc/pull/59
diff --git a/lib/utilunix.c b/lib/utilunix.c
index 0499525..d8fc0f6 100644
a
|
b
|
mc_popen (const char *command, GError ** error) |
524 | 524 | (NULL, (gchar **) argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_FILE_AND_ARGV_ZERO, |
525 | 525 | NULL, NULL, &p->child_pid, NULL, &p->out.fd, &p->err.fd, error)) |
526 | 526 | { |
527 | | mc_replace_error (error, MC_PIPE_ERROR_CREATE_PIPE_STREAM, "%s", |
528 | | _("Cannot create pipe streams")); |
| 527 | /* mc_replace_error (error, MC_PIPE_ERROR_CREATE_PIPE_STREAM, "%s", |
| 528 | //_("Cannot create pipe streams") |
| 529 | argv[3] |
| 530 | );*/ |
529 | 531 | goto ret_err; |
530 | 532 | } |
531 | 533 | |
diff --git a/src/filemanager/ext.c b/src/filemanager/ext.c
index 9cf8c9b..7d195c1 100644
a
|
b
|
exec_extension (void *target, const vfs_path_t * filename_vpath, const char *lc_ |
486 | 486 | /* Set executable flag on the command file ... */ |
487 | 487 | mc_chmod (script_vpath, S_IRWXU); |
488 | 488 | /* ... but don't rely on it - run /bin/sh explicitly */ |
489 | | cmd = g_strconcat ("/bin/sh ", vfs_path_as_str (script_vpath), (char *) NULL); |
| 489 | cmd = g_strconcat ("", vfs_path_as_str (script_vpath), (char *) NULL); |
490 | 490 | } |
491 | 491 | |
492 | 492 | if (run_view) |