os.system limitations on Windows NT

Johannes Nix jnix at rioverde.cafeconleche.de
Mon Nov 6 16:58:25 EST 2000


"Markus Kohler" <kohler at medien.tecmath.de> writes:

> >A possible workaround might be to pass some of the arguments
> >in the form of environment variables (which again have limits
> >of their own), or just shorten the arguments in some other way.
> >All those limits are defined in terms of a maximum number of
> >chararcers, though I don't remember the exact values. Note
> >that unix shells may have similar limits, but the acceptable
> >sizes are usually much bigger there.
> 
> 
> Yes. Unix is my next step.
> 

There are limits... but it is hard to hit them:

echo  `find /` | wc
[ ... ]
      1  209894 9141283

(about 14 MB commandline in swap....)

Johannes



More information about the Python-list mailing list