• 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: launchd user agent applescript do shell script error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchd user agent applescript do shell script error


  • Subject: Re: launchd user agent applescript do shell script error
  • From: Zack Jarrett <email@hidden>
  • Date: Mon, 31 Oct 2011 12:55:54 -0700

I wish I could elaborate, but it's been a long time and I don't remember much about it.  The documentation indicates that -S Aqua is the default but at the time I don't think that was true.  The script in question consisted of a Python application that called the shell that called AppleScript that called the shell and all sorts of application dictionaries.  It was quite a complicated program overall.

I don't remember the exact details but I think that some python module wasn't working correctly when run by launchd without the -S Aqua option.  Setting that option made everything work great. 

Since then I've re-written or abandoned much of that project and the OS has revved a couple times.  Today I use the plain vanilla launchctl load for everything and it works fine.  The result is what's important to me in this case and I haven't ever done the digging to figure out just what fixed it or when.

I wish I could be more helpful.
Zack

On Oct 31, 2011, at 8:03 AM, Robert Poland wrote:

Zack,

Could you elaborate on the -S option (example). The man command is the usual geek speak.


 _______________________________________________
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

References: 
 >Safari Status Bar (From: Robert Poland <email@hidden>)
 >launchd user agent applescript do shell script error (From: Jak Piper <email@hidden>)
 >Re: launchd user agent applescript do shell script error (From: Jak Piper <email@hidden>)
 >Re: launchd user agent applescript do shell script error (From: Alex Zavatone <email@hidden>)
 >Re: launchd user agent applescript do shell script error (From: Jak Piper <email@hidden>)
 >Re: launchd user agent applescript do shell script error (From: Zack Jarrett <email@hidden>)
 >Re: launchd user agent applescript do shell script error (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: unwanted password dialog
  • Next by Date: Re: unwanted password dialog
  • Previous by thread: Re: launchd user agent applescript do shell script error
  • Next by thread: Re: Safari Status Bar
  • Index(es):
    • Date
    • Thread