标签: java unix
我有以下代码从Java执行Unix脚本: 我得到PRRuntime exception。如果这有什么问题可以有人帮我吗?
PRRuntime exception
String cmd = "bash //Additional_Products/BIX/bix.sh"; Process proc = Runtime.getRuntime().exec(new String[] {"/bin/sh", "-c", cmd});