use 'system' to restart itself and then exit.Except that when using system, the old process doesn't go away; it'll wait for the new one to finish.Your script will be happy with a fresh start.
Daemons restarting itself is a classical trick. But you got to use exec, not system. You want to replace yourself with the new instance, not create an additional one.
In reply to Re^4: Interpreter eval counter out of bounds
by JavaFan
in thread Interpreter eval counter out of bounds
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |