using win-spawn for windows compat