Function createChildProcess