os.popen3 with windows; help?

Tony C cappy2112 at gmail.com
Tue Oct 26 20:20:09 EDT 2004


"Russell E. Owen" <rowen at cesmail.net> wrote in message news:<rowen-1B99F3.15314025102004 at gnus01.u.washington.edu>...
> I'm trying to launch an application from Python 2.3 on Windows. The 
> application is "ds9" (an image viewer), and is installed in C:\Program 
> Files\ds9\ds9

> On Windows os.popen3("ds9") does nothing, and the stderr returned from 

This won't work unless the installer for DS9 or someone manually put
the directory where DS9 is installed, into the path.


for long paths try using raw strings as in
os.popen3(r"C:\My Long Dir\My Long Program\MyProg.exe")



More information about the Python-list mailing list