It is entirely possible that Applescript is intentionally changing directory to a temporary directory before executing external programs as a security measure.
On Tue, Mar 7, 2017, 00:41 debt <d...@fannullone.us> wrote: > Please disregard my last email. Apparently you have to supply > full paths (as Thomas mentioned) to everything when dealing with > inter-language communications. After I added the full path to the file > name in the Perl script, it worked as it should. I don’t understand why, > but at least I know now. > > In case anyone else is dealing with this, Perl (or any other > language, I'm guessing) will need the full path to any file when being > called from AppleScript. Even though the Perl script worked fine without > it when run directly, it's required when being called from AppleScript. > > Thanks again, > Marc > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >