Remix.run Logo
7jjjjjjj an hour ago

>It feels crazy that we don't have a way to directly express the latter thing

Isn't that what posix_spawn is for?

toast0 42 minutes ago | parent | next [-]

posix_spawn addresses the need from userspace. Under the hood, it's still doing more or less a fork/exec, with the baggage that comes with it. A syscall would be nicer.

yxhuvud 42 minutes ago | parent | prev [-]

And how do you think posix_spawn is implemented?