lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jul 12, 2014 at 07:41:50PM -0300, Elias Barrionovo wrote:
> On Sat, Jul 12, 2014 at 7:35 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> > Does a command that long work if you issue it as one line in
> > the command shell?
> 
> 
> OP: "Just as a note the same command runs fine through the shell so
> it's not a shell limit."

os.execute will use sh -c '...'. So it could be a shell limit on the maximum
length of a single command argument. Invoking the same command from an
interactive shell works quite differently; for one thing, it's parsed
entirely differently.