fix sudo behavior for windows (fix #2137)
Merge pull request #2144 from jlipps/master

fix sudo behavior for windows (fix #2137)