Processing (Linux): don't return on POLLHUP

In case child process finishs too fast
This commit is contained in:
李通洲
2023-07-24 21:30:41 +08:00
parent e8d075907f
commit 2aa637ecc8
-4
View File
@@ -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];