• 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
do shell script Results?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell script Results?


  • Subject: do shell script Results?
  • From: Marconi <email@hidden>
  • Date: Sun, 17 Aug 2003 09:43:22 -0700

I have been given an example of calling a shell script from AS and it begins like:
do shell script "perl -e ..."

when the perl line is copied and pasted into terminal, the output of the shell script shows up in Terminal. But when called from AS, where do the results go? I've tried:
set myresults to do shell script "perl -e.....

But myresult is empty.

Ideally, I'd like the results to go to a file I designate but I'd be pleased just to get the output into an AS variable.


--

"A man who believes in nothing will fall for anything." -- Malcolm X
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: do shell script Results?
      • From: John Delacour <email@hidden>
    • Re: do shell script Results?
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Archives (Back Online)
  • Next by Date: Re: do shell script Results?
  • Previous by thread: eunotice
  • Next by thread: Re: do shell script Results?
  • Index(es):
    • Date
    • Thread