You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my java app I want to run potree converter using ProcessBuilder. I am able to do so successfully on windows:
String[] potreeConverterCommand = {
"cmd.exe", "/c",
potreeConverterPath,
pdalOutput, "-o", potreeOutputPath,
"--generate-page", "index"
};
ProcessBuilder processBuilder = new ProcessBuilder(potreeConverterCommand);
Process process = processBuilder.start();
int exitCode = process.waitFor();
logger.info("Exit code for potreeconverter:"+exitCode);
For docker container, I replace "cmd.exe", "/c" with "/bin/bash", "-c". But things don't work. It keeps giving exitcode 127.
potreeConverterPath points to PotreeConverter script, and it exists as checked by:
Files.exists(Paths.get(potreeConverterPath))
pdalOutput points to input .las file and this too exists.
potreeOutputPath is the directory where I want PotreeConverter to write its output, and its parent directory too exists.
Am I missing something in context of linux?
The text was updated successfully, but these errors were encountered:
In my java app I want to run potree converter using ProcessBuilder. I am able to do so successfully on windows:
For docker container, I replace "cmd.exe", "/c" with "/bin/bash", "-c". But things don't work. It keeps giving exitcode 127.
potreeConverterPath points to PotreeConverter script, and it exists as checked by:
Files.exists(Paths.get(potreeConverterPath))
pdalOutput points to input .las file and this too exists.
potreeOutputPath is the directory where I want PotreeConverter to write its output, and its parent directory too exists.
Am I missing something in context of linux?
The text was updated successfully, but these errors were encountered: