[Patches] [ python-Patches-655421 ] commands.py for Windows

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Dec 2002 01:44:38 -0800


Patches item #655421, was opened at 2002-12-17 21:30
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=655421&group_id=5470

Category: Library (Lib)
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Andy McKay (zopezen)
Assigned to: Nobody/Anonymous (nobody)
Summary: commands.py for Windows

Initial Comment:
The commands.py  module claims to only work on 
posix, I really don't see why that should be case. 
The only issue is the use of { ;} in the command 
sent to popen, but that's just a matter of changing 
the command for the os. Simple.

If accepted there should be a documentation 
change as well, but not sure where that is.

Tested on Win2k using Python 2.1.3

----------------------------------------------------------------------

Comment By: Paul Moore (pmoore)
Date: 2002-12-18 09:44

Message:
Logged In: YES 
user_id=113328

Surely getstatus(file) won't work, as Windows doesn't have 
a "ls" command?

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2002-12-18 03:40

Message:
Logged In: YES 
user_id=31435

Just noting that this doesn't work on Win95, Win98, 
Win98SE, or Win ME -- command.com (their native shell) 
doesn't support any way to redirect stderr.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=655421&group_id=5470