Re: Calling Perl from AppleScript
Re: Calling Perl from AppleScript
- Subject: Re: Calling Perl from AppleScript
- From: debt <email@hidden>
- Date: Mon, 06 Mar 2017 12:22:22 -0800
> On Mar 6, 2017, at 11:41 AM, Thomas Fischer <email@hidden> wrote:
>
> or die "cannot open > test.txt: $!“;
Thanks, Thomas. Adding the “die” statement produced this:
Couldn't open test.txt: Permission denied at /Users/work/Desktop/code/AppleScript/test.pl
So… it appears that the Perl script _is_ being run but it can’t open the text file. This is odd since running the Perl script directly works perfectly.
The permissions on the file are set to 666. What more is AppleScript looking for?
Marc
_______________________________________________
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