• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Detach and reattach to shell command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detach and reattach to shell command


  • Subject: Detach and reattach to shell command
  • From: Reinhold Penner <email@hidden>
  • Date: Fri, 9 Aug 2002 07:00:19 -1000

I'm trying to find a way to reattach to a detached shell command. The detaching part is working fine using the ">/dev/null 2>&1 &" trick. But how can I reattach? In particular, I want to detach the download of a large cgi-generated page, do some other stuff, and periodically check when the download is done. I have tried to monitor the busy status of the file using "busy status of (info for theFile)", but it doesn't appear to be busy (is there a bug in this command?), even though the file hasn't downloaded completely.

Is there any other way to monitor the state of a detached shell command? Maybe some variable I can access? Or any other method of detecting when a file has been downloaded completely?

TIA for any pointers from all of you shell wizards, -Reinhold
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Detach and reattach to shell command
      • From: garbanzito <email@hidden>
  • Prev by Date: Re: Time/Date stamping
  • Next by Date: Re: AppleScript at a Glance
  • Previous by thread: Open file in Quark 4.11
  • Next by thread: Re: Detach and reattach to shell command
  • Index(es):
    • Date
    • Thread