![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Carreer:Networking Programming in Unix (C programming Language) | vibhory2j | UNIX for Dummies Questions & Answers | 5 | 09-05-2008 07:57 PM |
| Unix Systems Programming Vs Unix Programming | BCarlson | Shell Programming and Scripting | 0 | 05-24-2006 02:34 PM |
| programming question... sorta | 01000101 | UNIX for Dummies Questions & Answers | 2 | 05-17-2006 07:14 AM |
| programming question from a newbie, please help | milenky | High Level Programming | 1 | 10-11-2002 10:15 AM |
| Question about Shell Programming | IMPORTANT | Shell Programming and Scripting | 3 | 03-26-2002 04:22 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
All right I am currently writing a c function in unix... and is trying to create a child shell to execute various command along with its arguments such as
ls cd "directory name" yeah it is a bit redundant, but I am just beginning and this seemed like a good exercise but for some reason every command work except for my cd command.... no matter what I remain in the root directory instead of going to the destrination directory.... I am using execvp if I successfully create a fork... and have the parent pid wait until the child pid has finished it functions before proceeding.... I am guessing so far now is that whenever I close the child directory, any non-permanent (such as mkdir) are ignored as I close that child thread and open a new one.... again I am only guessing at this... is there anyone who might see me through this.... Thanks.... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|