From 609561494f106822b3deb5ff2ef184d17703f7df Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 10 May 2020 11:19:13 +0530 Subject: [PATCH] Remove blocking pipe open in child --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 83741689..081fac02 100644 --- 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);