On Fri, 19 Oct 2007, Bill Janssen wrote:
On Windows, I'm calling os.popen() in a sub-thread, and I find that when I'm using PyLucene (and thus gcj threads), I'm suddenly getting an exception of something like "COMSPEC not defined, so can't run shell". This is code that's worked for years, on the same platform and same Python (2.4). Sure enough, when I print out the env before calling os.popen(), there's no def for COMSPEC (and few other defs, either). So, who's supposed to be setting up the environment in a new thread?
Hmmm, not sure. Maybe you should ask the gcj list at [EMAIL PROTECTED] Andi.. _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
