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

Re: do shell script woes


  • Subject: Re: do shell script woes
  • From: Doug McNutt <email@hidden>
  • Date: Wed, 24 Dec 2003 20:59:41 -0700

At 21:21 -0600 12/24/03, Lorin Rivers wrote:
>This simple shell command works swimmingly from the command line in Panther, yet does nothing when called from my AppleScript.
> set this_path to "/Users/lrivers/Desktop/cabs/06369022.cab"
> --try
> do shell script "/sw/bin/cabextract " & this_path
>Suggestions?

Delimiter - a space - between /sw/bin/cabextract and this_path ?
Execute bit set for cabextract ?
Shebang line in cabextract? AppleScript ALWAYS goes first to the bash shell.
$PATH problems for something cabextract is looking for. Your .login/.profile is NOT being executed.

What is cabextract anyway? Something you wrote? Yeah - my ignorance is probably showing but my OS neXt box is shut down for the night.

--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
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 woes
      • From: Graff <email@hidden>
References: 
 >do shell script woes (From: Lorin Rivers <email@hidden>)

  • Prev by Date: do shell script woes
  • Next by Date: Re: do shell script woes
  • Previous by thread: do shell script woes
  • Next by thread: Re: do shell script woes
  • Index(es):
    • Date
    • Thread