public class JavaExecuteScript extends Object
| Constructor and Description |
|---|
JavaExecuteScript() |
| Modifier and Type | Method and Description |
|---|---|
static int |
executeCommand(String cmd,
String arg,
long timeoutScanDelay)
Return status when execute the shell script scan-clamav.sh for scanning the file
|
public static int executeCommand(String cmd, String arg, long timeoutScanDelay) throws JavaExecuteScriptException
cmd - the command line that will be executedarg - the file to scantimeoutScanDelay - in msJavaExecuteScriptException - if script could not be executedCopyright © 2018 Vitam. All rights reserved.