3 ms·
Non-unix systems don't have exec; they have spawn.
by cperciva 10y ago
Non-unix systems don't have exec; they have spawn.
- the_mitsuhiko 10y agoWindows has exec.
- wruza 10y agoExec is substitution of current process with new image without closing fds or changing pid. Which winapi function does that?
- the_mitsuhiko 10y ago_wexec and friends. It internally uses CreateProcess obviously.
- cperciva 10y agoRight, but it's not used in the sense of fork+exec. I should have said that Windows doesn't only have exec, it has spawn too.
- pjmlp 10y agoYeah, sure. I always think of spawn as a plain wrapper exec/fork, hence why I wrote it like that, but you are right correcting me.