Commits

clach04 committed ffcf04e

Added my Windows 7 (etc.) change to allow Windows support for spawning exes, environment variable access, and correct file path support.

  • Participants
  • Parent commits a9bfd39

Comments (0)

Files changed (1)

                 break
         if foundType:
             break
+    # Chris Clark custom change, see Jython post 2012-01-09 Subject: Jython 2.2 and Windows 7
     if not foundType:
-        foundType = "posix" # default - posix seems to vary most widely
+        if 'windows' in os.lower():
+            foundType = "nt"
+        else:
+            foundType = "posix"  # default - posix seems to vary most widely
+    # End custom change
 
     return foundType