3 ms·
Another option is to allow the parent to create an empty child process, and then make arbitrary system calls and execute code in the child, like a debugger does
by immibis 5y ago
Another option is to allow the parent to create an empty child process, and then make arbitrary system calls and execute code in the child, like a debugger does. In most cases the last "remote system call" would be exec.
- cryptonector 5y agoposix_spawn() essentially is like that, or can be, as an implementation detail.