Comment 0 for bug 1382797

Alexey Kopytov (akopytov) wrote :

The SST code in uses posix_spawnp() to spawn a shell process executing the actual SST script. I don't if there's any viable reason to use posix_spawnp() instead of fork()/exec(), but one problem we can solve by doing it with fork()/exec() is cleaning up children (i.e. processes spawned by the SST script) when mysqld crashes or is killed with a non-interceptable signal such as SIGKILL.

See my #4 in