Is there a way to exit a Shell Task via a programming command?
I have a shell task, which is essentially just a while(1) loop with the shell command inside the loop.
I can enter the exit command from the keyboard, but I would like to cause the shell to exit and restart with a programming statement. Issuing Shell_exit causes the system to crash/lockup.
I am doing this because I'd like to change the commands available to the end user.