I'm trying to run a c shell script from a jsp page using Runtime.getRuntime().exec(). I can get simple unix commands to work with the code, but once I try to run a c shell script it doesn't work. I get a return code of 1. The c shell script writes a file that the jsp page then reads in, so I'm not trying to get anything other than verify the script completed. The c shell scripts runs without any errors when executed from the unix prompt. Any suggestions are welcome.
Environment info: OS: Sun Unix Web setup: Apache Tomcat Java: java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)