correct mistake in parameters passing to _dospawn for DOS