Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Running shell script from external application

 
Rajesh Datla
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
While running shell script using another shell script i am

getting "Warning: UNIXProcess.forkAndExec native error: No such file or

directory" on Redhat linux environment.

Regards
Rajesh
 
Darrin Cartwright
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rajesh Dat,

I have seen a similar error when I wasn't using the correct path to the other script. As a quick check, you might add a couple of debug statements before the call to the other script to check. Something like:

echo $PWD
OTHER_SCRIPT=where/you/think/the/other/script/is/script.sh
echo $OTHER_SCRIPT

If it's not the path problem, could you post the script, or a relevant portion?

Darrin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic