Detach and reattach to shell command
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.