mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 03:45:01 +00:00
Remove blocking pipe open in child
This commit is contained in:
parent
f0535dbd76
commit
609561494f
1 changed files with 1 additions and 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue