commit 609561494f106822b3deb5ff2ef184d17703f7df
parent f0535dbd7646f4f4353eee5ec6aa6d64840e29a3
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 10 May 2020 11:19:13 +0530
Remove blocking pipe open in child
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -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);