home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / programm / 5798 < prev    next >
Encoding:
Text File  |  1992-12-30  |  825 b   |  24 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!ian
  3. From: ian@netcom.com (James Ian McGowan)
  4. Subject: Beginner question about chdir()
  5. Message-ID: <1992Dec30.165109.29838@netcom.com>
  6. Keywords: chdir cd environment
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Date: Wed, 30 Dec 1992 16:51:09 GMT
  9. Lines: 13
  10.  
  11. A beginner question:
  12.  
  13. How can i use the chdir() call in a program and have it affect
  14. the current directory of the parent process?  Is there some
  15. tricky way of telling the shell (csh in this case) to do a cd?
  16.  
  17. If this is a FAQ, i apologise.  Pointers to sources of
  18. information about how a child process can affect the environment
  19. of its parent would be very welcome.
  20.  
  21. Thanks
  22. -- 
  23. ian@netcom.com
  24.