home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!ian
- From: ian@netcom.com (James Ian McGowan)
- Subject: Beginner question about chdir()
- Message-ID: <1992Dec30.165109.29838@netcom.com>
- Keywords: chdir cd environment
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Wed, 30 Dec 1992 16:51:09 GMT
- Lines: 13
-
- A beginner question:
-
- How can i use the chdir() call in a program and have it affect
- the current directory of the parent process? Is there some
- tricky way of telling the shell (csh in this case) to do a cd?
-
- If this is a FAQ, i apologise. Pointers to sources of
- information about how a child process can affect the environment
- of its parent would be very welcome.
-
- Thanks
- --
- ian@netcom.com
-