问题 This question already has answers here : Why doesn't the cd command work in my shell program? (3 answers) Closed last month . this is my code, i'm a Spanish student and I can't explain correctly, but, i need implement cd command in my own shell in C. Is for a workclass, if someone can help for realize it. When I put the if condition on process, cd doesn't work, But when I put the code outside I get the cd to work, however, when putting back cd does not return to the previous directory as the