|
Boost : |
Subject: Re: [boost] [test] How to execute shell commands
From: Peter Dimov (lists_at_[hidden])
Date: 2018-09-28 21:36:18
Steven Watanabe wrote:
> > It would probably be easier to infer the directory corresponding to
> > where the test executable is placed from argv[0] (but I haven't tried
> > that this works.)
>
> You can probably get away with it in this case, but this method isn't
> reliable in general.
I know, but if b2 passes the correct argv[0], it will be reliable in this
specific case. -)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk