Re: osascript busted in Leopard?
Re: osascript busted in Leopard?
- Subject: Re: osascript busted in Leopard?
- From: Christopher Nebel <email@hidden>
- Date: Mon, 7 Apr 2008 17:24:38 -0700
On Apr 7, 2008, at 3:14 PM, Vince Angeloni wrote:
I was trying to use osascript in Textmate and found it generated a
lot of useless data and then the result of the script. It appears to
do the same in terminal. Can someone else test/verify?
example:
osascript -e "system info"
the result:
2008-04-07 17:09:33.987 osascript[943:10b] ***
_NSAutoreleaseNoPool(): Object 0x13bb20 of class NSPathStore2
autoreleased with no pool in place - just leaking ...
AppleScript version:2.0, AppleScript Studio version:1.5, system
version:10.5.2, short user name:vangelon, long user name:the_Man,
user ID:501, user locale:en_US, home directory:OS X:Users:the_man:,
boot volume:OS X, computer name:G5 QUAD, host name:G5-QUAD.local,
IPv4 address:11.1.1.211, primary Ethernet address:02:17:61:66:d6:14,
CPU type:PowerPC 970, CPU speed:2500, physical memory:4096
Just to be clear, the command is working, but it's producing a lot of
diagnostic spew about leaks along the way. The spew should be going
to stderr, not stdout, so it won't affect any downstream processing.
I'm not seeing anything like this on a stock Leopard install. Do you
have any third-party scripting additions installed? If so, try
removing them and see if the spew goes away.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden