CenterForDigitalHumanities / SpectralRTI_Toolkit

Process Spectral RTI Images in ImageJ
GNU General Public License v3.0
1 stars 0 forks source link

exec() commands across environments #5

Closed thehabes closed 6 years ago

thehabes commented 7 years ago

Need to perform command line operations like

String execString = preferredCompress+" -i "+projectDirectory+"StaticRaking"+File.separator+inFile+".tiff -o " +projectDirectory+"StaticRaking"+File.separator+inFile+".jp2 "+preferredJp2Args+"\n";
Process start = Runtime.getRuntime().exec(execString);

but I am getting errors. Need to investigate how to make these calls happen like they did through the macro, but in Java.

thehabes commented 6 years ago

working across environments.