scripting terminal.app
scripting terminal.app
- Subject: scripting terminal.app
- From: Sam Hargis <email@hidden>
- Date: Mon, 28 Jan 2002 03:10:10 -0500
Hello,
I'm using an applescript repeat loop to
send commands to the terminal. How can
I monitor the progress until it completes to
manage the timing of the next command?
I could send a "top" with enter and the
terminal will display my app with running
processes, and it will not display when it is
finished.
Am I on the right track using this to sense
when my app has completed it's process or
is there an easier way. I could have a repeat
loop pull that text until it does not contain
my process, then continue with another shell
command?
Thanks,
JoePostscript