Run command not working #1292
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I would highly recommend that you supply the absolute path to the script or binary you want to execute. The second screenshot example will not work as Additionally the "./alert.wav" will have to be added as an argument and not as part of the file you want to execute. I hope that clears things up and sorry about the late reply! |
Beta Was this translation helpful? Give feedback.


I would highly recommend that you supply the absolute path to the script or binary you want to execute.
In the first screenshot you have a
.preceeding the/Users/...path which means that the path will be interpreted as a path relative to theobsbinary, which likely does not exist.The second screenshot example will not work as
afplayis likely not a valid path either.Your intention was likely to treat the
Runfield the same as a shell environment, but this not the case.If you type
afplayinto a shell the location of the binary will be resolved using thePATHenvironment variable.To find the absolute path to the afplay binary, you could try running this command in a terminal: