Program_Options - Is there anyway to get the name of executable?

10 Aug
2011
10 Aug
'11
9:33 a.m.
Hi, Is it possible to get name of the executable that started the program using program_options? Thanks in advance, Asif

10 Aug
10 Aug
9:50 a.m.
New subject: Program_Options - Is there anyway to get the name of executable?
http://stackoverflow.com/questions/4339128/boostprogram-options-how-to-get-t...
On Wed, Aug 10, 2011 at 17:33, asif saeed

9:52 a.m.
New subject: Program_Options - Is there anyway to get the name of executable?
Hi, On Wednesday, 10. August 2011 11:33:02 asif saeed wrote:
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
4985
Age (days ago)
4985
Last active (days ago)
2 comments
3 participants
participants (3)
-
asif saeed
-
Cedric Laczny
-
Diederick C. Niehorster