Question about using pid

Janina Sajka janina at rednote.net
Mon Oct 20 13:13:12 EDT 2003


I have a command that starts a process. Should that process die whilst
I'm not at my computer, I want a script to restart it.

How do I do this? What doc might I read that would provide examples?

I presume I should launch the process so that it's pid is written to a
file, and then I can just test for the running pid?

But, I don't know how to go forward with this, so would appreciate all
advice and direction.


-- 
	
Janina Sajka
Email: janina at rednote.net		
Phone: (202) 408-8175

Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org

Chair, Accessibility Work Group
Free Standards Group
http://accessibility.freestandards.org




More information about the Speakup mailing list