Quote:
Originally Posted by MTK358
What does "exit to one array" mean?
Ayway, what's wrong with "killall"?
Also, it's better to use $(command) instead of backticks. It nests easily and can't be confused with single quotes.
|
I can't do that, because the problem is if the process is running, i could figure out the solution, by doing this:
toKill=`ps x | grep process | grep -v grep | awk '/R/ {print $1}'`
the problem is that process is running like a ghost the application is closed but still running.
It's a TCL application
Thanks!
Carlos