title: How to run a Python script in the background from a Bash script?
body: <p>So I have a Bash script that does a bunch of things, one of them (actually the first one) is blink an LED on a RPi (via Python).</p>
  
  <p>The problem is that when I run the Python script it blocks all other scripts and nothing else runs.</p>
  
  <p>I think that by adding an <code>&amp;</code> it runs in the background but that didn't make any difference when I tried it.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>#!/bin/bash
  sudo python /scripts/blink.py blinkRed &amp;
  rm test.txt test.bkp
  ...
  </code></pre>
  
  <p>So basically everything stops after running the blink.py script.</p>
  
  <p>Any ideas on how I could make it non-blocking, run it on another thread, on the background or something like that?</p>