Message Boards Message Boards

Issues with RunProcess. PATH is not correct

Posted 4 months ago

I have been using RunProcess many times. This I have been doing, by first setting the PATH environment variable:

path = Environment["PATH"]
SetEnvironment["PATH" -> path <> ":/Applications/orca"]

since the external program is residing in /Applications/orca. I have then with success been running

RunProcess[{"orca", "input.inb"}]

Now, when I use version 13.3, I get the error message

RunProcess::pnfd: Program orca not found.  Check Environment["PATH"].    

If I call


I get


so this seems to be ok.
Any ideas? What is suddenly wrong?

Best regards
-Per Hedegård

POSTED BY: Per Hedegard
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract