How to make return value 0 of a script
<p>I have a script that triggers another script:</p>

<pre><code>exit_status = subprocess.call([RUN_SCRIPT)]
if exit_status: # if successful output
    # do something
else: # if script is not successful
    # send email to admins

# RUN_SCRIPT
if return_value &lt; error_threshold:
    # return exit status = 1
if return_value &gt; error_threshold:
    # return exit status = 0
</code></pre>

<p>How would I do this?</p>
