MacOS Ventura Shell Failure

When I use the command line to headlessly convert Office files to PDF, it works fine, When I enter the exact same command in a shell script and execute the script, I get a cannot open source file error. HELP!!!

Without seeing the command you are using, I’ll make a guess that you have a path problem.

1 Like

Now I feel stupid. Misplaced quotes around the variable. Problem solved. Thanks.