If the shell is given an external command that results in an "exec-error" message being printed on the screen, then control stays continues in the newly spawned forked process and doesn't terminate. If this happens several times, then many myshell processes litter the system and must be exited from individually.
If the shell is given an external command that results in an "exec-error" message being printed on the screen, then control stays continues in the newly spawned forked process and doesn't terminate. If this happens several times, then many myshell processes litter the system and must be exited from individually.