Processing (Windows): fix hanging when executing cygwin processes

This commit is contained in:
李通洲
2023-07-11 19:45:16 +08:00
parent 992fd6e5ad
commit 11adefd839
2 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
}
else if (pollfd.revents & POLLHUP)
{
return "Child process closed its end (nothing to read)";
return NULL;
}
}