+/**
+ * Check if the execution was successful. Bail out if it wasn't.
+ */
+if ($sqspell_exitcode){
+ $msg= "<div align='center'>"
+ . sprintf(_("I tried to execute '%s', but it returned:"),
+ $sqspell_command) . "<pre>"
+ . nl2br(join("\n", $sqspell_output)) . "</pre>"
+ . "<form onsubmit=\"return false\">"
+ . "<input type=\"submit\" value=\" " . _("Close")
+ . " \" onclick=\"self.close()\"></form></div>";
+ sqspell_makeWindow(null, _("SquirrelSpell is misconfigured."), null, $msg);
+ exit;
+}
+