Concept Flow - Child process exit codes
Start parent process
Spawn child process
Child runs task
Child finishes
Child sends exit code
Parent receives exit code
Parent handles exit code
End
The parent process starts a child process, which runs a task and then exits with a code. The parent receives this code and can act based on it.