purplesyringa / win-sudo

Add `sudo` command to Git Bash
MIT License
183 stars 55 forks source link

Prevent cd in backend #39

Closed bizxta closed 4 years ago

bizxta commented 4 years ago

This PR includes some shellcheck improvements (not all), but more importantly, it takes the responsibility of changing the dir away from the backend, and instead relies on Start-Process to set the working directory.

purplesyringa commented 4 years ago

Looks good to me, thanks!