I am trying to run a Shell script from Excel using VBA. The Terminal prompt I to run the script is cat "prompt.csv" | sh runScript.sh "WSO". The following code attempts to run that line, but I run into an
Error 53: File Not Found
Any help is much appreciated!
Sub Run_Jar()
    ChDir ActiveWorkbook.Path
    Shell "cat 'prompt.csv' | sh runScript.sh 'WSO'"
End Sub
The possible duplicate is for Office 2011, but I am using Office 2016. I need parameters, so Shell() does not work, MacScript() is an outdated command, and I cannot find libc.dylib on my machine.
 
    