• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Logging to terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Logging to terminal (From: "Kumar Shailove" <email@hidden>)

  • Prev by Date: Re: Tidying a string
  • Next by Date: Re: Tidying a string
  • Previous by thread: Logging to terminal
  • Next by thread: tell application to my_function()?
  • Index(es):
    • Date
    • Thread