3 ms·
We do have posix_spawn &c., which are expressly designed to be implementable even in situations where fork doesn't make sense.
by naniwaduni 5y ago
We do have posix_spawn &c., which are expressly designed to be implementable even in situations where fork doesn't make sense.
- tsimionescu 5y agoInteresting, I'd never learned about that. If I understand correctly, this actually used to be implemented as a fork()+exec() on many systems, though. It's actually vfork() that addressed the problem and allowed an actually useful implementation of posix_spawn in Linux at least.