CodePudding user response:
Debugging, remove the if statement, is to determine the exit or if problemsCodePudding user response:
System is a child process, the child process eixt the main process of it doesn't matter with you, just the child themselves out of the end of theWhy can pause to stop? Because the child's happening (wait for user input), the main process in the wait for the end of the child process returns
CodePudding user response:
Don't directly exit system (0) dropped out,CodePudding user response:
The exit (0) or exit (1)