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
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to