Re: do shell script and stdout
Re: do shell script and stdout
- Subject: Re: do shell script and stdout
- From: Doug McNutt <email@hidden>
- Date: Sun, 9 Oct 2005 13:07:35 -0600
At 10:39 -0700 10/9/05, Marconi 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?
You can "set something to do shell script . . . . ." to capture stdout.
But something will not get returned until the script completes its work.
Have a look at:
<ftp://ftp.macnauchtan.com/Software/Progress/tView.text> 4 kB, a ReadMe file
<ftp://ftp.macnauchtan.com/Software/Progress/tViewInit> 3 kB, call once to set up
<ftp://ftp.macnauchtan.com/Software/Progress/tViewCmd> 2 kB, run a UNIX tool.
They are really for use with BBEdit worksheets but they should be usable with "do shell script" to execute commands in a named Terminal.app window. I wrote them for curl which writes progress reports to stderr. They are commented and modifiable tcsh and perl scripts.
--
-->The Creator is the God who provided the void and the rules that matter and energy must live by in order to exist in it. Intelligent designers and engineers create useful stuff while abiding by the rules.<--
_______________________________________________
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