Package org.sleuthkit.autopsy.ingest

Examples of org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator


            // Add environment variable to force PhotoRec to run with the same permissions Autopsy uses
            processAndSettings.environment().put("__COMPAT_LAYER", "RunAsInvoker"); //NON-NLS
            processAndSettings.redirectErrorStream(true);
            processAndSettings.redirectOutput(Redirect.appendTo(log));

            int exitValue = ExecUtil.execute(processAndSettings, new FileIngestModuleProcessTerminator(this.context));

            if (this.context.fileIngestIsCancelled() == true) {
                // if it was cancelled by the user, result is OK
                // cleanup the output path
                FileUtil.deleteDir(new File(outputDirPath.toString()));
View Full Code Here

TOP

Related Classes of org.sleuthkit.autopsy.ingest.FileIngestModuleProcessTerminator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.