Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. CommandLine cmdLine = CommandLine.parse("/bin/sh ./generate_void_description.sh ./n3file ./voidfile");
  2.  
  3. int exitValue = executor.execute(cmdLine);
  4.  
  5. ./generate_void_description.sh: 44: ./generate_void_description.sh: Syntax error: "(" unexpected
  6. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)
  7.  
  8. executor.setExitValue(2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement