AnsweredAssumed Answered

Exit Shell from program

Question asked by Mark Doxbeck on Apr 21, 2018
Latest reply on May 16, 2018 by Daniel Chen

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.

Outcomes