Message1220
When running on Windows 2003 Server,
java.lang.System.getProperty( "os.name" ) returns
"Windows 2003". (Note: this doesn't seem to be
consistent. I've also seen it reported as Windows NT).
"Windows 2003" is not in the hardcoded list of windows
ID strings, so it defaults to posix, causing downstream
errors when calling os.system.
It's not possible to know ahead of time all the
possible windows flavors in the future - but it's a
safe bet they'll begin with "Windows".
Suggest the following at line 300 in javaos.py:
_osTypeMap = (
( "dos", r"(dos)|(Windows 95)|(Windows
98)|(Windows ME)" ),
( "nt", r"(nt)|(Windows.*)" ),
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:33 | admin | link | issue1553590 messages |
2008-02-20 17:17:33 | admin | create | |
|