But this can technically work with other characters, including spaces (as long as the argument is properly quoted) and unicode in general. Would you really prefer to limit it to a small easily…
I've renamed it to create
.
Being very nitpicky, launch
may sound like the process has already been created and is silently waiting to start.
I don't have a strong opinion on disabling it for --debug-gpu-force-workaround
.
I guess it makes sense even if it's disabled by default.
It might be useful to have something like --gpu-max-comp…
On Linux there's still no way to check if the process is still running, we could use the PID even if it's not 100% reliable, since we have to use a timeout too anyway.
Turns out this is not…
I have moved the IPC API to blenlib
and added a Subprocess
class.
I've implemented it on Windows using the method suggested by @LazyDodo and on Linux using fork
and execv
.
One weird…
I've been looking into the Chromium implementation of subprocesses (I found Firefox harder to figure out).
As far I understand, on Windows they use CreateProcessAsUser
(https://github.com/chromi…
int ch = fgetc(pipe);
if (ch == EOF) {
break;
}
Yesterday I tried something like this (and checking for errno
) after I saw Clément's comment, but I couldn't get it…
@Sergey I did open this one mainly for blender-bot builts, it was never meant for review. This PR contains all the changes related to parallel compilation which I plan to split into several…
I had a talk with @Sergey about the subprocess being lost. He did some test and waiting for the pipe to close (returning EOL) was enough to know if the subprocess has crashed. Maybe he has…