|
Boost-Build : |
Subject: Re: [Boost-build] Running external command and assign the output to a variable
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-04-07 12:42:49
On Tuesday 07 April 2009 20:37:47 Sherwood Hu wrote:
> Is it possible under bjam?
>
>
>
> Basically I'd like to run an external shell command and assign its
> output to a variable. Like this in bash:
>
>
>
> My_var = `uname -n`
Yes, see:
http://thread.gmane.org/gmane.comp.lib.boost.build/19828
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk