tags:

views:

91

answers:

1

Hi ,

I have a software that runs on mac (using terminal program) the program is old software that talks to phone using blue-tooth. The pairing sometimes breaks and I have to restart it to work again. Is there a way to monitor the process and make it run again automatically??

Thanks,

Tam

A: 

If by "monitor" you mean "monitor for the process dying," then you should look at launchd, which can automatically restart a process when it dies. Or do you have some other monitoring in mind?

Rob Napier