spawn process and return duplex stream via stdin/stdout