public class ShellScriptUtils extends Object
| Constructor and Description |
|---|
ShellScriptUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
execShellscript(String pathname)
Execute Shell script without Argument
|
static int |
execShellscript(String pathname,
String fileArgument)
Execute Shell script with Argument
|
static String |
makeFileFromResource(String resname)
Copy file from .jar resource to system file
|
public static String makeFileFromResource(String resname) throws IOException
resname - IOExceptionpublic static int execShellscript(String pathname) throws IOException
pathname - IOExceptionpublic static int execShellscript(String pathname, String fileArgument) throws IOException
pathname - fileArgument - IOExceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.