• 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: Do shell script vs terminal discrepancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do shell script vs terminal discrepancy


  • Subject: Re: Do shell script vs terminal discrepancy
  • From: Paul Skinner <email@hidden>
  • Date: Fri, 04 Dec 2009 21:43:53 -0500

I'm running 10.5.8

The error was just copied from the dialog that popped. Log stopped after the Do Shell Script line.

Terminal here:
-bash-3.2$ osascript -e 'do shell script "which convert" '
/opt/local/bin/convert

Paul


On Dec 4, 2009, at 9:26 PM, airdrummer wrote:

was that in the script editor's event log? i get:

tell current application
	do shell script "which convert"
		"no convert in /usr/bin /bin /usr/sbin /sbin"
end tell

while from the cli:

tomw> which convert
/opt/local/bin/convert
tomw> osascript -e 'do shell script "which convert" '
/opt/local/bin/convert

dunno why your msg tells you the return code(failure)

btw, i'm still running 10.4.11...you?

_______________________________________________ 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
  • Follow-Ups:
    • Re: Do shell script vs terminal discrepancy
      • From: Simon Topliss <email@hidden>
References: 
 >Re: Do shell script vs terminal discrepancy (From: airdrummer <email@hidden>)

  • Prev by Date: Re: Do shell script vs terminal discrepancy
  • Next by Date: Re: Do shell script vs terminal discrepancy
  • Previous by thread: Re: Do shell script vs terminal discrepancy
  • Next by thread: Re: Do shell script vs terminal discrepancy
  • Index(es):
    • Date
    • Thread