public class JavaExecuteScript extends Object
| Constructor and Description |
|---|
JavaExecuteScript() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionOutput |
executeCommand(String cmd,
String arg,
long timeoutScanDelay)
Return status when execute the shell script scan-clamav.sh for scanning the file
|
public static ExecutionOutput 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 © 2019 Vitam. All rights reserved.