Don't crash if cmd can't be executed

Catch the 'error' event from child_process to avoid
plugin crash.