Dear Caramizaru Laurentiu,
According to your 1C:Enterprise script, the system writes the contents to a text file and then tries to run it as an executable file. The reason why the system cannot run it now is that the file has no "executable" attribute.
To enable the system run the file, you can do either of the following:
- Run:
RunApp("/bin/bash Text.sh", Constants.BatPath.Get());
instead of:
RunApp("Text.sh", Constants.BatPath.Get());
- Before running the Text.sh file, set its executable attribute:
RunApp("chmod +x Text.sh", Constants.BatPath.Get());
RunApp("Text.sh", Constants.BatPath.Get());
Best regards,
Vladimir Gurov