I\'m using fabric to remotely start a micro aws server, install git and a git repository, adjust apache config and then restart the server.
If at any point, from the
Which version of fabric are you running?
Have you tried to change the pty
argument (try to change shell
too, but it should not influence things)?
http://docs.fabfile.org/en/1.0.1/api/core/operations.html#fabric.operations.run
You can set the pty
argument like this:
sudo('service apache2 restart', pty=False)