in reply to Re^2: how can we tell when a background process is finished?in thread how can we tell when a background process is finished?