How do I use java to execute a perl script. Thanks a bunch :)
Without knowing any more of the requirements:
Runtime.getRuntime().exec("/path/to/perl /path/to/perl/script");
Documentation about Runtime.exec
: http://download.oracle.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.