dab exec quoting (escaping)

Oleg Butovich

New Member
Feb 29, 2012
7
0
1
Munich, Germany, Germany
Hello All, :)

I spend really a lot of time to find out how can I pass quoted line to dab exec.. but it does not work for me :(
google has no examples also..

for example:
Code:
git config --global alias.gr "log --pretty=format:'%h %s' --graph"

should be run on vm machine how can I use dab exec in this case?
Do I have to escape it and how (I tried, but it does not work either)

Please help, what i am missing?
 
I think, I found how it can be fixed

in dab/scripts/defenv:
Code:
exec $@
should be changed to:
Code:
exec "$@"

In this case it can be used so:
Code:
dab exec git config --global alias.br \'log --pretty=format:\"%h %s\" --graph\'