Skip to contentSkip to conversation

max arguments for exec

DISCUSSION Carl Spalletta 2 participants 2 messages Sep 27, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Kiril Vidimce

Yeah, I know, but we would like to avoid building a

custom kernel. If

Quoted 1 line

we do end up going this route, I wonder if there is

a limit for

Quoted 1 line

MAX_ARG_PAGES. Any idea? I think 128 pages (512K)

would be sufficient

Quoted 1 line

for our needs.

kiril,

I am guessing that you want to avoid a custom kernel in order that your programs shall be portable.

So, I am having a hard time understanding why putting the command line args into a file instead of on the command line, in a way similar to grep and many other programs:

"fgrep -F patternfile"

would not answer the case.

Is there any absolute need to have so many args passed to exec from the command line?

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

#1 lore raw
Quoted 10 lines · Carl Spalletta

kiril,

I am guessing that you want to avoid a custom kernel in order that your programs shall be portable.

So, I am having a hard time understanding why putting the command line args into a file instead of on the command line, in a way similar to grep and many other programs:

Quoted 6 lines

"fgrep -F patternfile"

would not answer the case.

Is there any absolute need to have so many args passed to exec from the command line?

We are using third party software over which we have no control. So, it's not up to us.

KV
--
___________________________________________________________________
Studio Tools [email protected]
Pixar Animation Studios http://www.pixar.com/