From cf761ff85a10407824d71828666314f3c4bcc63a Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 9 Jun 2009 22:50:40 +0000 Subject: [PATCH] minor tweaks --- direct/src/plugin/p3dPythonRun.h | 11 ++++++++--- direct/src/plugin/p3dSession.cxx | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/direct/src/plugin/p3dPythonRun.h b/direct/src/plugin/p3dPythonRun.h index 68f2b9d8a5..fe510ee996 100755 --- a/direct/src/plugin/p3dPythonRun.h +++ b/direct/src/plugin/p3dPythonRun.h @@ -41,13 +41,18 @@ using namespace std; // launched as a separate executable from the p3d_plugin // dll, because that's the only way Windows can launch a // sub-process, and also because it makes it possible to -// compile-time link with the Python dll, instead of +// compile-time link with Panda and Python, instead of // having to go through the clumsy dynamic-loading // interface. // // Communication is via XML files exchanged via -// anonymous pipes from the parent process. This -// executable is not designed to stand alone. +// anonymous pipes from the parent process. This isn't +// terribly eficient, of course, but it's easy; and it's +// a fairly low-bandwidth channel so efficiency is not +// paramount. +// +// This executable is not designed to stand alone; it is +// designed to be invoked only by p3d_plugin. //////////////////////////////////////////////////////////////////// class P3DPythonRun { public: diff --git a/direct/src/plugin/p3dSession.cxx b/direct/src/plugin/p3dSession.cxx index 3e7e5bd0be..d84b43805f 100644 --- a/direct/src/plugin/p3dSession.cxx +++ b/direct/src/plugin/p3dSession.cxx @@ -35,6 +35,7 @@ P3DSession(P3DInstance *inst) { _python_root_dir = "C:/p3drun"; string p3dpython = "c:/cygwin/home/drose/player/direct/built/bin/p3dpython.exe"; + // string p3dpython = _python_root_dir + "/p3dpython.exe"; // Populate the new process' environment. string env;