Re: Logging to terminal
Re: Logging to terminal
- Subject: Re: Logging to terminal
- From: Doug McNutt <email@hidden>
- Date: Thu, 28 Apr 2005 11:34:42 -0600
At 10:03 +0530 4/28/05, Kumar Shailove wrote:
>I am running a script from terminal, in between I need to insert some
>log statements so that results of these logs are displayed at the
>Terminal window while the script continues. (Similar to Apple Event Log
>when the script is executed from within Script Editor/Debugger)
echo is the usual shell command to do that.
Or am I missing something? What language is the script written in?
Are you "tell"ing Terminal.app to run a script or are you "osascript"ing AppleScript text and want to include Script Editor's "log"ing capability. I don't thing you can do the latter without scripting Script Editor.
hmmm.
log > stdout
would be an interesting addition to AppleScript's bag of tricks.
--
--> Life begins at ovulation. Ladies should endeavor to get every young life fertilized. <--
_______________________________________________
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