• 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: codesigning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: codesigning


  • Subject: Re: codesigning
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 08 Mar 2012 12:45:17 +0100

Le 7 mars 2012 à 22:12, Luther Fuller a écrit :

> If I do ...
>
> 	codesign -dvvvv [path to appl]
>
> from the Terminal, I get this result ...
>
> 	[...]
>
> But, when I try this in AppleScript ...
>
> property testAppl : alias "OS_X:Users:lutherfuller:Desktop:codesign_test:Calculator.app"
> on run
> 	do shell script "codesign -dvvvv " & (quoted form of (POSIX path of testAppl))
> 	log "[ " & the result & " ]" & return
> 	beep
> end run
>
> I get no result at all. Seems odd !!!  Any ideas ?

Hello Luther,

Looks like codesign is outputting to stderr.
You could for example redirect stderr to stdout, as in:

	do shell script "codesign -d -vvv /Applications/Calculator.app 2>&1"

HTH,
Axel


 _______________________________________________
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: codesigning
      • From: Luther Fuller <email@hidden>
References: 
 >codesigning (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Please Test » Safari Save Problem
  • Next by Date: Re: Please Test » Safari Save Problem
  • Previous by thread: codesigning
  • Next by thread: Re: codesigning
  • Index(es):
    • Date
    • Thread