Re: Log progress to AS from "do shell script"
Re: Log progress to AS from "do shell script"
- Subject: Re: Log progress to AS from "do shell script"
- From: Loukas Kalenderidis <email@hidden>
- Date: Fri, 18 Apr 2003 11:13:38 +1000
Hi.
Do you know any way to retrieve information about the progress of a "do
shell script"?. Eg, I'm "cp"ying or "unzip"ping a very large file and
this
process will take some minutes.
If the shell script has progress output you could send it to the
background, redirect its output to a file, then poll this file for new
data from AS.
eg. do shell script "blah >/tmp/blah.out 2>&1 &"
the event will return and the process will be executing in the
background and logging to /tmp/blah.out
Loukas
----
Loukas Kalenderidis
Angier Consulting Pty Ltd
_______________________________________________
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.