shell command output
Alan Miller
ajm at enteract.com
Mon May 21 18:29:08 EDT 2001
Erik Max Francis (max at alcyone.com) wrote:
>Sorin Gherman wrote:
>
>> Is there any solution to avoid the temp file?
>
>Yep, use popen:
But be careful - popen behaves differently depending on whether you're
on Win9x/ME or WinNT/2K. In particular, on Win9x-based boxes it has to
use Win9xpopen.exe, which has (or had) a bug in the handling of quoted
strings with embedded spaces.
For more details, go to groups.google.com and search for "python popen
ajm" to get the articles I posted about it back in April. The message
with a subject ending in "(update)" gives more details about the
problem.
ajm
More information about the Python-list
mailing list