On Wed, 13 Jul 2005, Matthias Urlichs wrote:
> Hi, Bryan Larsen wrote:
> > +   r=os.spawnvp(os.P_WAIT, args_l[0], args_l + args[i:min(i+1000, 
> > len(args))])
> The max length for argv is 32k IIRC, so 1000 is 28-byte file names.

I think 32k may be the posix-mandated minimum. Linux does 128kB, so 1000 
should likely be ok for most projects.

That said, xargs should do things like that right.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to