• 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: Data Back from a Terminal Call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data Back from a Terminal Call


  • Subject: Re: Data Back from a Terminal Call
  • From: Jaime Magiera <email@hidden>
  • Date: Wed, 30 Jun 2004 12:49:42 -0400

Thanks, I had done some work with "do shell script" a few years ago when it first became available. At the time, I read something that their was a problem with return values. Apparently, not anymore. Excellent.

thanks,

Jaime

On Jun 30, 2004, at 12:37 PM, Bruce Carter wrote:

Yes, easily. Ala:

set username to do shell script "echo $USER"

On Jun 30, 2004, at 11:25 AM, Jaime Magiera wrote:

Is there a way to get data back from a "Do shell script"? How are people getting return values back to their script from calls that require such?

--
Bruce Carter, ACTC, MacCSE, MCP http://www.nd.edu/~bcarter/
Senior Systems Engineer mailto:email@hidden
Riley Hall of Art, Room 217 AIM:bcarteratnd
University of Notre Dame +1 574 631 2967 Voice
Notre Dame, IN 46556-0539 +1 574 631 8201 FAX
_______________________________________________
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.


References: 
 >Data Back from a Terminal Call (From: Jaime Magiera <email@hidden>)
 >Re: Data Back from a Terminal Call (From: Bruce Carter <email@hidden>)

  • Prev by Date: Re: Data Back from a Terminal Call
  • Next by Date: Re: Data Back from a Terminal Call
  • Previous by thread: Re: Data Back from a Terminal Call
  • Next by thread: Re: Data Back from a Terminal Call
  • Index(es):
    • Date
    • Thread