I’m having the following scenario:
In my code i run the rails system command
system “say xyz”
Suppose this “say xyz” command runs a process for a very long period of
time then I want to:
- stop/kill that process through rails code on click of button.
- can I determine whether the system command is running properly and
not had hanged the system?
Please guide me.
Thanks in advance,