os.popen3 with windows; help?

Josiah Carlson jcarlson at uci.edu
Fri Oct 29 14:28:24 EDT 2004


"Russell E. Owen" <rowen at cesmail.net> wrote:
> - quote the path in '"..."' (single quotes on the outside; no other form 
> of double quoting I tried worked). Fails on Windows.

Which windows?  It works for me on both 2k and XP (though I'm not
running ds9):
>>> os.popen3('"C:\\Program Files\\WinImage\\winimage.exe"')
(<open file '"C:\Program Files\WinImage\winimage.exe"', mode 'w' at 0x007E7AE0>,
 <open file '"C:\Program Files\WinImage\winimage.exe"', mode 'r' at 0x007EC2E0>,
 <open file '"C:\Program Files\WinImage\winimage.exe"', mode 'r' at 0x007EC360>)


 - Josiah




More information about the Python-list mailing list