echoing multi-lines output from "do shell script"
echoing multi-lines output from "do shell script"
- Subject: echoing multi-lines output from "do shell script"
- From: Richard Covert <email@hidden>
- Date: Sun, 30 May 2004 14:42:13 -0500
I have an UNIX command that shows progress by echoing multiple lines to
stdout.
How do I get AS to read each line as it is produced??
I could do a work around by redirecting stdout to a text file and then
write an AS handler to
loop on that file until I read a line containing text indicating that
the UNIX command has completed.
But then I would have to delete that temporary file.
Does anyone have a better way of monitoring stdout/stderr after issuing
a "do shell script" AS statement??\
thanks
_______________________________________________
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.