fabric/fabric — Issue #538: _shell_escape used for run/sudo but not local.
Author: dahpgjgamgan
Created: 2012-01-27 15:28:32+00:00
State: open

A minor issue:

```python
def run_local():
run('echo "aaa"')
local('echo "aaa"')
```

Commands to run: run_local
[user@localhost] Executing task 'run_local'
[user@localhost] run: /bin/bash -l -c "echo \"aaa\""
[user@localhost] out: aaa
[user@localhost] out:
[localhost] local: echo "aaa"
"aaa"

This is easily worked around, but still If someone is creating some fabric wrappers which do take function as parameter (so u can pass run/local/anything else you need depending on you need) it makes it a bit inconvenient to use.