
10 Aug
2011
10 Aug
'11
9:52 a.m.
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