caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] No way to get list of all environment variables ?
@ 2001-08-13 13:02 Berke Durak
  2001-08-13 14:27 ` Markus Mottl
  0 siblings, 1 reply; 2+ messages in thread
From: Berke Durak @ 2001-08-13 13:02 UTC (permalink / raw)
  To: caml-list

I'd like to get a list of all environment variables defined, to be able to pass them,
suitably modified or at least augmented, to an execvpe'd process. Is there a way to do
this ?
--
Berke
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re: [Caml-list] No way to get list of all environment variables ?
  2001-08-13 13:02 [Caml-list] No way to get list of all environment variables ? Berke Durak
@ 2001-08-13 14:27 ` Markus Mottl
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Mottl @ 2001-08-13 14:27 UTC (permalink / raw)
  To: Berke Durak; +Cc: caml-list

On Mon, 13 Aug 2001, Berke Durak wrote:
> I'd like to get a list of all environment variables defined, to be
> able to pass them, suitably modified or at least augmented, to an
> execvpe'd process. Is there a way to do this ?

Sure: "Unix.environment ()" gives you the current process environment
as a string array, "Unix.execvpe" can be passed such an array (possibly
manipulated) as argument.

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

end of thread, other threads:[~2001-08-13 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-13 13:02 [Caml-list] No way to get list of all environment variables ? Berke Durak
2001-08-13 14:27 ` Markus Mottl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).