Re: do shell script woes
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.