Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!vrdxhq!vsedev!logan From: logan@vsedev.VSE.COM (James Logan III) Newsgroups: comp.lang.c Subject: Re: modifying parent's environment, etc. Message-ID: <1494@vsedev.VSE.COM> Date: 25 Apr 89 12:15:17 GMT References: <2158@pur-phy> Reply-To: logan@vsedev.VSE.COM (James Logan III) Organization: VSE Software Development Lab Lines: 18 In article <2158@pur-phy> sho@newton.physics.purdue.edu.UUCP (Sho Kuwamoto) writes: # This thread got me to thinking. I wrote a quickie program which, # for reasons I don't need to go into now, modified argv[i]. The # strangest thing happened: if you run it in the background and look # at it using ps, the line where it tells you what you typed in as # your command line changes. I'm interested to know if this works # on all versions of UNIX. Compile the following, run it in the # background, and do a PS. Over here, we are running BSD 4.3. I tried it under System V Release 2. It doesn't work. -Jim -- Jim Logan logan@vsedev.vse.com VSE Software Development Lab uucp: ..!uunet!vsedev!logan (703) 329-4654 inet: logan%vsedev.vse.com@uunet.uu.net