home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!cs.widener.edu!dsinc!ub!acsu.buffalo.edu!zshi
- From: zshi@acsu.buffalo.edu (Zhixin Shi)
- Newsgroups: comp.lang.c
- Subject: Where does system("cd ./sudir") go ?
- Message-ID: <C1JMDn.9Gw@acsu.buffalo.edu>
- Date: 28 Jan 93 02:46:35 GMT
- Sender: nntp@acsu.buffalo.edu
- Organization: UB
- Lines: 9
- Nntp-Posting-Host: autarch.acsu.buffalo.edu
-
- Hi, there,
- I tried to make a program using system call to change dir, but when
- I use
- system("cd ./sudir")
- it looks like going into the subdir then come back when the program
- finished.
- Is there any idea how to make the program stay into the subdir or
- simply using some other calls to do this?
- Thanks.
-