The file actions of posix_spawn describe the setup code for the child process before it might run execve (which deletes stack etc). The intended use case is to
Consider the following code: import {spawn, exec} from 'child_process'; var child = spawn('su', [process.env.USER, '-c', 'while (true); do sleep 0.3; echo