<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Process Event Handler Result]]></title><description><![CDATA[<p dir="auto">Is it possible (or could it be added in an update) to get the result of a script that the process event handler runs?<br />
Basically I'd just like to know if script returned 0 (success) or non-zero (failure) and get either of those as events that will show up in the events log and that I could then attach an email event handler to.</p>
]]></description><link>https://forum.mango-os.com/topic/4949/process-event-handler-result</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 09:33:27 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4949.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Sep 2020 05:04:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Process Event Handler Result on Fri, 25 Sep 2020 11:08:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi Cmason</p>
<p dir="auto">This may be possible by using the Log4j data source.<br />
<code>Non-empty standard output from the process will be written to the Mango log at an "information" level. Non-empty error output will be written to the Mango log at an "error" level.</code><br />
you could create a log4j point on both those levels with a regex matching your standard output. Then put an event handler on the point.</p>
]]></description><link>https://forum.mango-os.com/post/25815</link><guid isPermaLink="true">https://forum.mango-os.com/post/25815</guid><dc:creator><![CDATA[CraigWeb]]></dc:creator><pubDate>Fri, 25 Sep 2020 11:08:35 GMT</pubDate></item></channel></rss>