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