[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Disabling auto-escaping for run and sudo
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] Disabling auto-escaping for run and sudo |
Date: |
Fri, 30 Nov 2012 11:43:46 -0800 |
On Fri, Nov 30, 2012 at 8:52 AM, Sign Up <address@hidden> wrote:
> Hello!
>
> I'm using fabric 1.4 and need the ability to pass unmolested dollar signs to
> bash, so that I can use bash's own special string expansion ( like this:
> $'\044'). When I pass commands with this syntax through run or sudo, the
> dollar sign gets escaped. Is there any way to turn this escaping off
> without setting shell=False?
Sadly, not at the moment. I'll make a ticket for adding an env var
and/or kwarg to allow disabling escaping, though -- should've been
done long ago, honestly. Assuming it's as quick to hack in as I think,
it'll be ready for the next release (1.6) which won't be far off.
Best,
Jeff
>
> Thanks!
>
> Eric
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user
>
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org