[go: up one dir, main page]

Menu

#60 post command: file existance check prevents execution

open
nobody
None
5
2010-01-03
2010-01-03
Anonymous
No

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.

Discussion


Log in to post a comment.