Re: do shell script and stdout
Re: do shell script and stdout
- Subject: Re: do shell script and stdout
- From: Andrew Oliver <email@hidden>
- Date: Sun, 09 Oct 2005 12:00:46 -0700
On 10/9/05 10:39 AM, "Marconi" <email@hidden> wrote:
> Lots of commands and scripts, when run in terminal, show progress
> and/or results in the terminal window. When doing these same commands
> or scripts with 'do shell script' how can the output which would be
> shown in terminal be made to appear in a progress or results dialog?
Read the tech note
http://developer.apple.com/technotes/tn2002/tn2065.html#TNTAG2
In short, the only option is to redirect the process's stdout (or stderr) to
a file and have your script read that file.
Whether or not this is feasible for you depends on the command you're
running and how it outputs its progress data.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden