On Mon, May 25, 2009 at 5:07 AM, Jeff Forcier <address@hidden
> Hi Erik,
> Did a quick google and it sounds like you've got something in your
> bashrc or other RCfile that expects an interactive shell, which Fabric
> doesn't do by default (it does a noninteractive login shell).
> See for example http://platonic.techfiz.info/2008/10/13/stdin-is-not-a-tty/
> So there's two ways you can address this:
> * Figure out what the offending program is in your shell RCfile and
> remove it or wrap it in an if statement that ensures it only runs if
> the shell is in fact interactive;
> * In your fabfile, tweak env.shell so that it says e.g. "/bin/bash -li
> -c" instead of "/bin/bash -l -c" (i.e. add a -i argument so that it's
> interactive too). I don't recommend this since it may well introduce
> other oddball side effects (using -i isn't, to my knowledge, well
> tested), but it's an option;
> On Sun, May 24, 2009 at 10:47 PM, Erik Wickstrom <address@hidden
>> When I run a command on a remote host, Fabric always has this err. Do I
>> have something mis-configured?
] run: cd /home/clm/crs/; git pull origin master
] err: stdin: is not a tty
] out: Already up-to-date.
>> Fab-user mailing list
> Fab-user mailing list