Re: [PATCH] command line: expand environ vars for runscript and REST commands

2017-04-03 Thread Nadav Har'El
On Wed, Mar 29, 2017 at 3:54 PM, Justin Cinkelj wrote: > When command is run via CLI (run.py -e "CMD"), the CMD string can contain > $KEY, and KEY will be replaced with corresponding value from environ. > The patch implements this also for commands run via REST or via runscript. > > Fixes #868 >

[PATCH] command line: expand environ vars for runscript and REST commands

2017-03-29 Thread Justin Cinkelj
When command is run via CLI (run.py -e "CMD"), the CMD string can contain $KEY, and KEY will be replaced with corresponding value from environ. The patch implements this also for commands run via REST or via runscript. Fixes #868 Signed-off-by: Justin Cinkelj --- core/commands.cc | 31