Processing (Linux): don't return on POLLHUP
In case child process finishs too fast
This commit is contained in:
1 parent
e8d075907f
commit
2aa637ecc8
1 file changed
-4
@@ -66,10 +66,6 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
|
||||
kill(childPid, SIGTERM);
|
||||
return "poll(&pollfd, 1, timeout) error";
|
||||
}
|
||||
else if (pollfd.revents & POLLHUP)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
char str[FF_PIPE_BUFSIZ];
|
||||
|
||||
Reference in new issue
Block a user