Clean up global variable and signal handling function before exit. For commands allowing the use of valid functions or binary executables.
Clean up global variable and signal handling function before exit. For commands allowing the use of valid functions or binary executables.