Test for existence of external process invoker

Issue #42 resolved
Sheila Morrissey
created an issue

When a command is executed, the external process holder tries to execute a Unix shell (if UNIX processes handler is configured)– if the shell doesn' exist - -the command doesn't get executed

This suggests to me that I should be looking in the executeCommand method of ForkShellHandler to test for the existence of the shell-invocation (property shellEnv) and throw an exception if it doesn’t exist. I’ll add this to the BitBucket to-do list. I will also have the SGML module trap for that exception so that it can add a “Process” error for any SGML file without causing JHOVE2 to grind to a halt if it tries to process an sgml file and isn’t configured correctly.

Comments (4)

  1. Log in to comment