If I use following post command;
/usr/bin/mplex -f 8 -o movie.mpg "?0"
I get following error:
java.io.IOException: Cannot run program "/usr/bin/mplex -f 8 -o movie.mpg": java.io.IOException: error=2, No such file or directory
projectX should check for file existance of "/usr/bin/mplex" not of "/usr/bin/mplex -f 8 -o movie.mpg"
Whitespaces in filenames should be escaped by user not by program. Alternatively you could first check for "/usr/bin/mplex" and then for "/usr/bin/mplex -f 8 -o movie.mpg" if first one does not exist.
This behaviour makes it impossible to embed own scripts or commands with parameters in post processing.