Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* execvp: /bin/sh: Arg list too long
@ 1999-10-28  4:00 toebert
  1999-10-29  4:00 ` John F Carr
  0 siblings, 1 reply; 3+ messages in thread
From: toebert @ 1999-10-28  4:00 UTC (permalink / raw)


Hi,

    On OSF, there is a ARG_MAX limit for execvp (see
man environ). Anyone knows how to reset this limit? We
have a simple GNUmakefile target:

	all:
		echo $(var)

	'gmake all' will generate the following error:

	"execvp: /bin/sh: Arg list too long"
because variable 'var' is too long. Any suggestion is
greatly appreciated!

   -- Toebert


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: execvp: /bin/sh: Arg list too long
  1999-10-28  4:00 execvp: /bin/sh: Arg list too long toebert
@ 1999-10-29  4:00 ` John F Carr
  1999-11-01  5:00   ` Finnbarr P. Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: John F Carr @ 1999-10-29  4:00 UTC (permalink / raw)


In article <7vak46$k31$1@nnrp1.deja.com>,  <toebert@my-deja.com> wrote:
>    On OSF, there is a ARG_MAX limit for execvp (see
>man environ). Anyone knows how to reset this limit?

Upgrade to 5.0.

-- 
    John Carr (jfc@mit.edu)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: execvp: /bin/sh: Arg list too long
  1999-10-29  4:00 ` John F Carr
@ 1999-11-01  5:00   ` Finnbarr P. Murphy
  0 siblings, 0 replies; 3+ messages in thread
From: Finnbarr P. Murphy @ 1999-11-01  5:00 UTC (permalink / raw)



or use xargs



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-01  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-28  4:00 execvp: /bin/sh: Arg list too long toebert
1999-10-29  4:00 ` John F Carr
1999-11-01  5:00   ` Finnbarr P. Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox