in reply to Re^5: how to kill background process when script exit?in thread how to kill background process when script exit?