Remove blocking pipe open in child

This commit is contained in:
Arun Prakash Jana 2020-05-10 11:19:13 +05:30
parent f0535dbd76
commit 609561494f
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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);