fix for windows

Allow spawning of .bat files (such as Vagrant)
tested only on windows 8