• Re: Command length limit for exec command

    From Stephen Prather@21:1/5 to Donal K. Fellows on Mon Nov 14 10:07:27 2022
    On Friday, March 1, 2013 at 4:25:35 AM UTC-6, Donal K. Fellows wrote:
    External command invokations have *much* lower limits; you've often only
    got 1MB or so of space for arguments and environment variables combined. Using too much causes an error when you [exec]. This limit is imposed by
    the operating system (it's a POSIX E2BIG error).

    Donal.

    My exec command string is getting chopped off at a relatively meager 241 characters. Am I doing something wrong? This seems way too short.

    Thanks!
    --Myles

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Gerald Lester@21:1/5 to Stephen Prather on Mon Nov 14 13:40:39 2022
    On 11/14/22 12:07, Stephen Prather wrote:
    On Friday, March 1, 2013 at 4:25:35 AM UTC-6, Donal K. Fellows wrote:
    External command invokations have *much* lower limits; you've often only
    got 1MB or so of space for arguments and environment variables combined.
    Using too much causes an error when you [exec]. This limit is imposed by
    the operating system (it's a POSIX E2BIG error).

    Donal.

    My exec command string is getting chopped off at a relatively meager 241 characters. Am I doing something wrong? This seems way too short.

    The limit is OS specific.


    --
    +----------------------------------------------------------------------+
    | Gerald W. Lester, President, KNG Consulting LLC |
    | Email: Gerald.Lester@kng-consulting.net | +----------------------------------------------------------------------+

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)