The command output is dumped to stdout instead of log file, the system doesn't way for the tool to finish and proceed with the scripts, so everything fails.
It might be related to security configuration.
Related discussions:
https://sourceforge.net/p/cmusphinx/discussion/help/thread/97432c55
https://sourceforge.net/p/cmusphinx/discussion/help/thread/b2069ba8/