I am trying to call my linux executable from shell script. Before calling this executable, I want to set LD_LIBRARY_PATH with specific values. My shell script is as below:>
Are you sure the subprocess is using csh? If it starts up using bash or something else then this would prevent the script from working (but not to throw an IOException).
You should really aad a hashbang line as the very first line of your script to state which shell interpreter you wish to use.
eg.
#!/usr/bin/env csh