How can I restart the ruby script from inside the script? -


i looking way stop current running script , restart if continuation met.

how can that?

write this:

at_exit{   # whatever way started program such `program_name`.   # make sure new process detached original. } 

and do:

exit 

somewhere want break.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -