Re: Run script with arguments
Re: Run script with arguments
- Subject: Re: Run script with arguments
- From: Shane Stanley <email@hidden>
- Date: Wed, 31 Dec 2014 11:28:09 +1100
On 30 Dec 2014, at 11:31 pm, Nicola Vitacolonna <email@hidden> wrote:
>
> My main problem is how to make
> a script run from the command-line print something to the terminal in a reliable way.
> Clearly, log is not the answer.
Well if log used to be redirected to stdOut with osascript and no longer is, that should be logged as a bug. FWIW, redirecting to stdOut is what happens in ASObjC-based apps built in Xcode.
> Then, see https://github.com/lifepillar/ASMake.
I've only had a chance to look briefly, but I must say I always get nervous when I see people applying design patterns from other languages to AS.
> PS: this time, I have hard-wrapped the message. Sorry for the lengthy lines in
> previous messages: I write messages in Mail.app and always forget about wrapping!
Oh, I let them run -- I prefer getting them that way...
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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