Re: launchd user agent applescript do shell script error
Re: launchd user agent applescript do shell script error
- Subject: Re: launchd user agent applescript do shell script error
- From: Alex Zavatone <email@hidden>
- Date: Fri, 28 Oct 2011 20:43:44 -0500
What was the problem and your solution?
On Oct 28, 2011, at 8:32 PM, Jak Piper wrote:
> This took a while to reach the list, problem solved :)
>
> On 29 Oct 2011, at 02:23, "Jak Piper" <email@hidden> wrote:
>
>> Hi list,
>>
>> I've got myself rather confused here.
>>
>> I have an applescript, when run from script editor or complied as an app
>> works as expected.
>>
>> The script does contain quite a few 'do shell script' commands.
>>
>> I need to call this script via a Launchd user agent.
>>
>> I've tried osascript
>>
>> I've tried calling the complied app
>>
>> When run it seems to 'miss' the 'do shell script' commands...
>>
>> Something strange is going on with launchd running this I guess..
>>
>> My option is to re-write this as a shell script, but I'd rather not if I
>> don't have to.
>>
>> Any thoughts folks?
>>
>> Thanks.
>>
>> Jak.
>>
>>
>>
>>
>>
>>
>>
>>
>> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee of this e-mail please do not copy or forward it or otherwise use it or any part of it in any form whatsoever. If you have received this email in error please notify the system manager on email@hidden.
>>
>> References in this Data to "Burberry" are references to Burberry Group
>> plc, a company incorporated in England and Wales with registered number
>> 03458224 whose registered office is at Horseferry House, Horseferry Road, London, SW1P 2AW
>> and where the context requires, includes its subsidiaries and
>> associated undertakings.
>>
>>
>> _______________________________________________
>> 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
>>
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee of this e-mail please do not copy or forward it or otherwise use it or any part of it in any form whatsoever. If you have received this email in error please notify the system manager on email@hidden.
>
> References in this Data to "Burberry" are references to Burberry Group
> plc, a company incorporated in England and Wales with registered number
> 03458224 whose registered office is at Horseferry House, Horseferry Road, London, SW1P 2AW
> and where the context requires, includes its subsidiaries and
> associated undertakings.
>
>
> _______________________________________________
> 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
_______________________________________________
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