Re: Script Fails in Snow Leopard - Adobe Unit Types.osax
Re: Script Fails in Snow Leopard - Adobe Unit Types.osax
- Subject: Re: Script Fails in Snow Leopard - Adobe Unit Types.osax
- From: Paul Scott <email@hidden>
- Date: Fri, 11 Sep 2009 10:25:41 -0700
I never so much as implied that a given shell command will never emit anything to stderr. Why do you keep reiterating this sophistic comment? It doesn't justify writing messages to stderr out of an error-free script.
I will reiterate my suggestion that the message could be tabled (held) until the compile has completed and emitted to stderr only if the compile fails. Otherwise, or in any case, it could be written to syslog, or not at all.
Another (less attractive) possibility is the addition of a switch that would suppress this, or particular, or all non-error messages. I'm sure there are other alternatives.
I have opened a bug report wherein I reiterate my suggestions. I hope it is given due consideration, but I will accept any outcome.
Paul On Sep 8, 2009, at 10:13 PM, Chris Page wrote: On Sep 5, 2009, at 12:53 PM, Paul Scott wrote: I should not expect to see output on stderr unless there's a legitimate error, and now every time I invoke osascript to run an error-free script I'm annoyed by reports of non-errors.
The dlopen message is an error as far as dyld is concerned. But I’ll reiterate that even if dyld didn’t produce this message in this particular case, you must not assume that a given shell command will never emit anything to stderr. That is the nature of stderr.
-- Chris Page
The other, other AppleScript Chris
|
_______________________________________________
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