diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-10 11:19:13 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-10 11:19:13 +0530 |
commit | 609561494f106822b3deb5ff2ef184d17703f7df (patch) | |
tree | da2e07e1c26fe6d143cb59e293a84e11b5f38e01 | |
parent | f0535dbd7646f4f4353eee5ec6aa6d64840e29a3 (diff) | |
download | nnn-609561494f106822b3deb5ff2ef184d17703f7df.tar.gz |
Remove blocking pipe open in child
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4316,7 +4316,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch exitcurses(); if (fork() == 0) { // In child - int wfd = open(g_pipepath, O_WRONLY | O_NONBLOCK); + int wfd = open(g_pipepath, O_WRONLY); if (wfd == -1) _exit(EXIT_FAILURE); |