You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This finally fixes transport#sudo() to work within different shells and environments. The only reliable way of running commands using sudo -i is by piping them into bash, such as echo 'echo hello world' | sudo -i -u root bash. This might seems to be the obvious solution, but then again why is sudo -i -u root bash -c 'echo foo;echo bar' resulting in "bar" being printed, but "foo" is not?
Another approach for fixing the issue with sudo commands being improperly escaped after 0.6.10 introduced more problems than it solved (#123, 🍻 @marcioamr, @zmillman)