Quote:
Originally Posted by Franklin52
Have you get any warnings/errors while compiling the code?
Use the strcmp function to compare strings instead of:
Code:
if(key == "cd")
|
no I get no errors, the code runs fine and does what I want. It just doesnt exit the child process.
---------- Post updated at 03:49 PM ---------- Previous update was at 11:52 AM ----------
alright I got it. thanks for the suggestion.