equal
deleted
inserted
replaced
491 @propertycache |
491 @propertycache |
492 def argmax(self): |
492 def argmax(self): |
493 # POSIX requires at least 4096 bytes for ARG_MAX |
493 # POSIX requires at least 4096 bytes for ARG_MAX |
494 argmax = 4096 |
494 argmax = 4096 |
495 try: |
495 try: |
496 argmax = os.sysconf(r"SC_ARG_MAX") |
496 argmax = os.sysconf("SC_ARG_MAX") |
497 except (AttributeError, ValueError): |
497 except (AttributeError, ValueError): |
498 pass |
498 pass |
499 |
499 |
500 # Windows shells impose their own limits on command line length, |
500 # Windows shells impose their own limits on command line length, |
501 # down to 2047 bytes for cmd.exe under Windows NT/2k and 2500 bytes |
501 # down to 2047 bytes for cmd.exe under Windows NT/2k and 2500 bytes |