in reply to Executing a shell script with progress indicator

You're looking for fork.

Caution: Contents may have been coded under pressure.
  • Comment on Re: Executing a shell script with progress indicator