Adding a mutex around process spawning for PosixSpawnProcess in order to prevent any race conditions around changing the working directory for the child process.
Adding a mutex around process spawning for PosixSpawnProcess in order to prevent any race conditions around changing the working directory for the child process.

jarib/childprocess,enkessler/childprocess,Kilosassy/childprocess