Ooookay I'm not real sure why this bounced. Anyway, here it is sent back to the list. See my comments below:
-- "The most addictive drug in the world is music." - The Lost Boyz Begin forwarded message: > From: [EMAIL PROTECTED] > Date: August 15, 2005 6:36:33 PM EDT > To: [EMAIL PROTECTED] > Subject: Uncaught bounce notification > > > The attached message was received as a bounce, but either the bounce > format was not recognized, or no member addresses could be extracted > from it. This mailing list has been configured to send all > unrecognized bounce messages to the list administrator(s). > > For more information see: > http://www.modevia.com/cgi-bin/mailman/admin/py-transports/bounce > > > From: "Nathan Palmer" <[EMAIL PROTECTED]> > Date: August 15, 2005 6:36:33 PM EDT > To: <[EMAIL PROTECTED]> > Subject: pyaim-t Respawning on windows > > > > What is the purpose of these lines? > > > > name = "PyAIMt" > > exe = os.path.realpath(sys.executable) > > if (exe.find("python") >= 0): > > os.execv(exe, [name, sys.argv[0]]+sys.argv[1:]) > > Basically, if you don't start PyAIMt from the script that uses exec - a to "call it" PyAIMt in the process list, it restarts with it's official name as PyAIMt. This is basically so you can tell what process is why. Now.. as for why it's not working under windows... it's beyond me. I had someone print out the string exe before that call and it did indeed contain the string python. So..... yeah. Why it's not finding it in there is beyond me. =/ That said... > > > It seems that you are re-spawning it to be executed as PyAIMt > instead of using ?python pyaim.? Correct me if I?m wrong. But > this method doesn?t work on windows and just infinitely re-spawns > itself over and over again. Could we change it to: > > > > if (os.name != "nt"): > > name = "PyAIMt" > > exe = os.path.realpath(sys.executable) > > if (exe.find("python") >= 0): > > os.execv(exe, [name, sys.argv[0]]+sys.argv[1:]) > > Do all versions of windows contain "nt" in the os string? (whether they are windows nt or not) I'd be happy to put this in as a stopgap measure until I fix it for real. Daniel > > > I always forget to change it whenever I download a new release. > > > > Nathan Palmer > > Senior Software Engineer > > Data Services Direct > > 801-208-1120 x115 > > [EMAIL PROTECTED] > > > > > >