External Tool (Labs): command not found. External commands terminated with exit code: 127
Hi everybody,
I’m trying to use the External Tool (Labs) node but I have problems because it seems it doesn’t know where executable files are.
In practice I’m launching the node with the command:
bash -c “my_script.sh %inFile% %outFile%”Upon execution the command is translated to something like:
bash -c my_script.sh /tmp/bash_20190326_38800/input/port0.csv /tmp/bash_20190326_38800/output/port0.csvmy_script.sh is a bash script inside one of my bash paths and with executable permissions. If I launch the aforementioned command from the console it works without problems but when it’s launched from the External Tool (Labs) node it trigger the following error:
2019-03-26 11:18:35,155 : DEBUG : ExtTool StdErr collector : CommandExecution : External Tool (Labs) : 3:2589:2574 : STDERR: bash: my_script.sh: command not found
2019-03-26 11:18:35,155 : INFO : KNIME-Exttool-11 : CommandExecution : External Tool (Labs) : 3:2589:2574 : External commands terminated with exit code: 127It seems like the node doesn’t find the path where the script is located. Can anybody help with this issue?