in reply to How to run a shell script from a Perl program?
A few things:
- Check your $PATH variable, or be explicit where you are calling your script from (eg: ./tailsh.sh.
- Make certain that your tailsh.sh script has execute mode turned on (see chmod for details)
- Make certain that you have a #!/path/to/program at the top of your tailsh.sh script, unless it can use the default shell without problems.