|
Boost Users : |
Subject: Re: [Boost-users] Program_Options - Is there anyway to get the name of executable?
From: Cedric Laczny (cedric.laczny_at_[hidden])
Date: 2011-08-10 05:52:52
Hi,
On Wednesday, 10. August 2011 11:33:02 asif saeed wrote:
> Hi,
>
> Is it possible to get name of the executable that started the program using
> program_options?
>
I don't know of a way to get it directly from program_options, but it might
exist. So in case you definitely require program_options, this won't help and
you might actually already be aware of it, but you could use "argv[0]" in any
case.
> Thanks in advance, Asif
Best,
Cedric
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net