On Fri, Apr 18, 2008 at 04:21:08PM +0200, Almir Karic wrote: > On Fri, Apr 18, 2008 at 3:20 PM, Jurjen Oskam <[EMAIL PROTECTED]> wrote: > > So ps does show FOO, *and* it shows the value of FOO changing after > > ten seconds. > > > > what is so weird about it? you set your program an env var via env(1) > for first ten seconds it has that env var, than the putenv(3) call > happens and it changes the value of FOO.
That in itself is not weird. What I meant was that if the variable isn't set at the start of the program, ps won't see it at all, not even after the program sets it. -- Jurjen Oskam Savage's Law of Expediency: You want it bad, you'll get it bad.