Browse thread
[Caml-list] No way to get list of all environment variables ?
-
Berke Durak
- Markus Mottl
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Markus Mottl <markus@m...> |
| Subject: | Re: [Caml-list] No way to get list of all environment variables ? |
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