in reply to Use another script to check bacground process
Its amazing how often the answer to a question is right in the docs