fix(spawn): add win syntax case

Closes #1