Is it possible for java to call shell scripts or pearl scripts?
Thank you david
posted 11 years ago
Yes, Java can execute all sorts of external scripts and applications using the java.lang.Runtime class's exec() method. Here's an example:The returned Process exposes input, output and error streams and allows you to wait for it to complete and acquire its exit code. If you just need to kick off the script, you can safely ignore it.