n class="n">pid</span> <span class="o">=</span> <span class="n">check_output</span><span class="p">([</span><span class="s2">&quot;pidof&quot;</span><span class="p">,</span> <span class="n">name</span><span class="p">])</span>
        <span class="n">pid</span> <span class="o">=</span> <span class="n">pid</span><span class="o">.</span><span class="n">decode</span><span class="p">(</span><span class="s1">&#39;utf-8&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">strip</span><span c