• 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: Shell script does not run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script does not run


  • Subject: Re: Shell script does not run
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 25 Apr 2007 08:37:06 -0400

Are you sure it's not working?  "Do shell script" doesn't run in a
Terminal window, even if you put it in a tell block to Terminal (which
has no effect).  It will copy the files without any visual indication
at all...

On 4/25/07, Peter Baxter <email@hidden> wrote:
HI people,

I have a shell script that does not run.  It works as a script in
terminal very nicely, but does not work from AS.  What is the problem?

tell application "Terminal"
	activate
	do shell script "cp -r /Volumes/BAXUSB2KEY/ /Volumes/Lacie/BAXUSB2KEY/"
end tell


Peter Baxter email@hidden

Music creates order out of chaos: for rhythm imposes unanimity upon
the divergent, melody imposes continuity upon the disjointed, and
harmony imposes compatibility upon the incongruous.
-- Yehudi Menuhin

iChat email@hidden





--
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
References: 
 >Shell script does not run (From: Peter Baxter <email@hidden>)

  • Prev by Date: Shell script does not run
  • Next by Date: Re: Simple Date-Time Format Question...
  • Previous by thread: Shell script does not run
  • Next by thread: Re: Shell script does not run
  • Index(es):
    • Date
    • Thread