From: Lucas H. <lu...@di...> - 2007-06-16 10:33:38
|
On Sat, 16 Jun 2007 11:05:32 +0100 Stephen Watson <st...@ke...> wrote: > "Nils Erik Svang=E5rd" <nil...@gm...> wrote: >=20 > > Hello! > > I use the Send-To menu item to send files to mplayer. > > When I try to send more than 1685 files rox-filer complains: > >=20 > > Failed to execute child process > > "/home/nisse/.config/rox.sourceforge.net/SendTo/Play Random/AppRun" > > (Argument list too long) > >=20 > > Where apprun contains a row executing mplayer. >=20 > There is a hard limit to the length of the arguments you can send to a > program, set by the operating system. I forget what the limit is > exactly but 1685 file names with an average length of 40 characters > is about 67K and I doubt the limit would be more than 64K. >=20 > You'll just have to accept that you can't send that many files to one > program. >=20 Perhaps you could change the AppRun script to handle directories aswell. Although I'm pretty sure something like "mplayer $1/*" would cause the same error. --=20 Lucas Hazel <lu...@di...> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D "Clothes make the man. Naked men are rarely taken seriously, or given employment."=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |