mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
remove quotes around path for exec
This commit is contained in:
parent
85e0d9945e
commit
29457dc686
@ -289,7 +289,7 @@ public class ALeappAnalyzerIngestModule implements DataSourceIngestModule {
|
|||||||
private ProcessBuilder buildaLeappCommand(Path moduleOutputPath, String sourceFilePath, String aLeappFileSystemType) {
|
private ProcessBuilder buildaLeappCommand(Path moduleOutputPath, String sourceFilePath, String aLeappFileSystemType) {
|
||||||
|
|
||||||
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
||||||
"\"" + aLeappExecutable + "\"", //NON-NLS
|
aLeappExecutable.getAbsolutePath(), //NON-NLS
|
||||||
"-t", aLeappFileSystemType, //NON-NLS
|
"-t", aLeappFileSystemType, //NON-NLS
|
||||||
"-i", sourceFilePath, //NON-NLS
|
"-i", sourceFilePath, //NON-NLS
|
||||||
"-o", moduleOutputPath.toString(),
|
"-o", moduleOutputPath.toString(),
|
||||||
@ -303,7 +303,7 @@ public class ALeappAnalyzerIngestModule implements DataSourceIngestModule {
|
|||||||
private ProcessBuilder buildaLeappListCommand(Path moduleOutputPath) {
|
private ProcessBuilder buildaLeappListCommand(Path moduleOutputPath) {
|
||||||
|
|
||||||
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
||||||
"\"" + aLeappExecutable + "\"", //NON-NLS
|
aLeappExecutable.getAbsolutePath(), //NON-NLS
|
||||||
"-p"
|
"-p"
|
||||||
);
|
);
|
||||||
processBuilder.redirectError(moduleOutputPath.resolve("aLeapp_paths_error.txt").toFile()); //NON-NLS
|
processBuilder.redirectError(moduleOutputPath.resolve("aLeapp_paths_error.txt").toFile()); //NON-NLS
|
||||||
|
@ -289,7 +289,7 @@ public class ILeappAnalyzerIngestModule implements DataSourceIngestModule {
|
|||||||
private ProcessBuilder buildiLeappCommand(Path moduleOutputPath, String sourceFilePath, String iLeappFileSystemType) {
|
private ProcessBuilder buildiLeappCommand(Path moduleOutputPath, String sourceFilePath, String iLeappFileSystemType) {
|
||||||
|
|
||||||
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
||||||
"\"" + iLeappExecutable + "\"", //NON-NLS
|
iLeappExecutable.getAbsolutePath(), //NON-NLS
|
||||||
"-t", iLeappFileSystemType, //NON-NLS
|
"-t", iLeappFileSystemType, //NON-NLS
|
||||||
"-i", sourceFilePath, //NON-NLS
|
"-i", sourceFilePath, //NON-NLS
|
||||||
"-o", moduleOutputPath.toString()
|
"-o", moduleOutputPath.toString()
|
||||||
@ -309,7 +309,7 @@ public class ILeappAnalyzerIngestModule implements DataSourceIngestModule {
|
|||||||
private ProcessBuilder buildiLeappListCommand(Path moduleOutputPath) {
|
private ProcessBuilder buildiLeappListCommand(Path moduleOutputPath) {
|
||||||
|
|
||||||
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
ProcessBuilder processBuilder = buildProcessWithRunAsInvoker(
|
||||||
"\"" + iLeappExecutable + "\"", //NON-NLS
|
iLeappExecutable.getAbsolutePath(), //NON-NLS
|
||||||
"-p"
|
"-p"
|
||||||
);
|
);
|
||||||
processBuilder.redirectError(moduleOutputPath.resolve("iLeapp_paths_error.txt").toFile()); //NON-NLS
|
processBuilder.redirectError(moduleOutputPath.resolve("iLeapp_paths_error.txt").toFile()); //NON-NLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user