Stating Node using Script - Can't find script

Jenkins setup: Bare metal on a Linux machine.

Trying to start a Node using dedicated script that is located under /development/resources/jenkins/bin/lsf_spawn.sh

I’m getting:
java.io.IOException: Cannot run program “/development/resources/jenkins/bin/lsf_spawn.sh”: error=2, No such file or directory

Did all that I could to make sure the script is there with x permissions (755). Still Jenkins refuse to find it.

Is there any restrictions as for where can Jenkins execute the script that starts Nodes?

Thanks,

Tal.

The issue was with the file content. ‘dos2unix’ solved it