I want to run a script as a process. so running below command,
setsid test.sh > test.log &
But giving error as below,
setsid: failed to execute test.sh: No such file or directory
Whats wrong here? I have test.sh file with execute permission in current location.