Re: [Fab-user] Executing script on localhost without ssh

2009-09-07 Thread Taras Mankovski
Hey Matthew, Why don't you want to ssh to localhost? It works fine for me. I tried it, but it didn't work very well for me. I could try it again. I think conceptually it would make sense to make Paramiko optional, and when run or sudo command is executed, it would be helpful if fabric would

Re: [Fab-user] Executing script on localhost without ssh

2009-09-07 Thread Jeff Forcier
Hi Taras, Firstly, there is a local() operation which (as Matthew suggested) uses the 'subprocess' module to do things locally instead of using Paramiko. If by some chance you weren't aware of this -- that may be your answer. Note that its current implementation does not perfectly match up with

Re: [Fab-user] Executing script on localhost without ssh

2009-09-07 Thread Jeff Forcier
On Mon, Sep 7, 2009 at 9:53 PM, Taras Mankovskitar...@gmail.com wrote: I think local should be more like a context(or environment), rather then a function for executing commands. I guess I'm still not convinced as to why this is necessary? It sounds like you're proposing that local() be