Originally posted by jay vas:
Then is there a simpler shell script / perl type implementation of exec that behaves more predictably ?
Runtime.getRuntime().exec("data.sh") doesn't seem to difficult or complex to me. What's unpredicatable? The problem is that the Java program can't find your script. It might be because
1) The script is called data.sh but you're trying to run Data.sh (UNIX is case sensitive), or
2) The script isn't on the path
You haven't confirmed that the problem isn't one of these.