• 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 with unix sub command and CocoaDialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Shell script with unix sub command and CocoaDialog


  • Subject: Re: Do Shell script with unix sub command and CocoaDialog
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 6 Mar 2008 19:49:16 -0500

On Thu, Mar 6, 2008 at 6:22 PM, Luther Fuller <email@hidden> wrote:
>  I only use Terminal to check-out commands that I'm going to use in
>  'do shell script', so sh is my "normal" shell. Is there any way to
>  change Terminal's default shell to sh?

That question was answered already, but I wanted to point out that you
can also go the other way (sort of) and have "do shell script" run a
different shell, e.g.

do shell script "bash -c " & quoted form of "shell command that you
want to send to bash instead of sh"

--
Mark J. Reed <email@hidden>
 _______________________________________________
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 with unix sub command and CocoaDialog
      • From: Doug McNutt <email@hidden>
    • Re: Do Shell script with unix sub command and CocoaDialog
      • From: Luther Fuller <email@hidden>
References: 
 >Do Shell script with unix sub command and CocoaDialog (From: Tim Piper <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: Christopher Nebel <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by Date: Re: Do Shell script with unix sub command and CocoaDialog
  • Previous by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Index(es):
    • Date
    • Thread