Process: make spawn() work on multi-platform