Command shell access within Python

Janko Hauser jhauser at ifm.uni-kiel.de
Sun Nov 4 18:59:03 EST 2001


I do not know, why the commands module is only specified or Unix. I
assume there were problems with the popen function on windows in older
releases of Python.

As is seems your change makes this working on windows I would submit
it as a patch on the sourceforge site. But as noted in this thread,
popen also starts a shell for each command, so it doesn't really solve
your problem, if this is actually a problem :-).

__Janko

-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list