Equivalent of windows' cmd on a mac - How to use java.lang.ProcessBuilder to launch an executable?

Hi,
if ispc
arg = {'cmd', '/c',sprintf('"%s < %s"',executableName,actionsFileName), '>','nul'};
else
error('Unix version not yet implemented!')
end
PB=java.lang.ProcessBuilder(arg);
this.Process = PB.start;
Which I'd like to expand slightly to work on a mac. Does anyone know what the equivalent argument ('arg') should be please?
And will the ProcessBuilder work equivalently on a mac?
Thanks for any help!
Tom

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Centro de ayuda y File Exchange.

Preguntada:

el 5 de En. de 2015

Editada:

el 5 de En. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by