Re: [C++-sig] How can I get access to "argv/argc" command line in a boost python c++ extension?

2018-01-26 Thread Stefan Seefeld
On 26.01.2018 16:20, Liam Herron wrote: > > So I have a boost python extension C++ library.  I would like to > access the “python commandline” in C++ without having to pass in the > “sys.argv” into my C++ extension.    > > Is there a way to do this?   Include some boost python header and read > it

[C++-sig] How can I get access to "argv/argc" command line in a boost python c++ extension?

2018-01-26 Thread Liam Herron
So I have a boost python extension C++ library. I would like to access the "python commandline" in C++ without having to pass in the "sys.argv" into my C++ extension. Is there a way to do this? Include some boost python header and read it from some init variables or something? e.g. python s