|
|
@@ -23,7 +23,7 @@ public class ShellCompiler implements CodeCompiler {
|
|
|
public void compile(String appId, String appCompileHome) throws Exception {
|
|
|
ShellResult result;
|
|
|
for (String compileScript : compileCmds) {
|
|
|
- result = shell.exec(appCompileHome, compileScript.split("\\s+"));
|
|
|
+ result = shell.execWithDir(appCompileHome, compileScript.split("\\s+"));
|
|
|
if (!result.isSuccess()) {
|
|
|
throw new Exception(result.getResult());
|
|
|
//throw new Exception(JsonConverter.objectToJson(result.getResult()));
|