From: Arun Prakash Jana Date: Sun, 10 May 2020 05:49:13 +0000 (+0530) Subject: Remove blocking pipe open in child X-Git-Tag: v3.2~35 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=609561494f106822b3deb5ff2ef184d17703f7df;p=nnn.git Remove blocking pipe open in child --- 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);