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\'
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!