A cross platform solution to node's spawn