[IronPython] 2.0B1: sys.executable in hosting scenarios
Jeff Hardy
jdhardy at gmail.com
Wed Mar 19 01:07:43 CET 2008
Hi,
I'm trying to figure out how to set sys.executable when hosting
IronPython. As best I can tell, I need to call
PythonContext.SetHostVariables, but I can't figure out how to get an
appropriate PythonContext. This causes sys.executable to be None,
which messes up pydoc (specifically os.path.dirname(sys.executable)).
Does this involve delving deeper into the hosting APIs, or is this a
Level 2 scenario?
-Jeff
More information about the Ironpython-users
mailing list