title: Using tqdm with subprocess
body: <p>I'm trying to add a progress bar feature to an open-source project I contribute to. This software multi-threads commands passed to it, in an easy to use way. At the moment, I am trying to add a progress bar functionality to the application, however am unable to get the progress bar to stick to the bottom and update. </p>
  
  <p>We are using the following code to process commands:</p>
  
  <pre class="lang-py prettyprint-override"><code>subprocess.call(task, shell=True)
  </code></pre>
  
  <p>I currently use <code>tqdm.update()</code> to update the progress of the bar, however that keeps printing on a new line, making the terminal look horrible.
  <a href="https://i.stack.imgur.com/EgCXd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EgCXd.png" alt="Image displaying non-sticky progress bar"></a></p>
  
  <p>To see exactly how we have used the tqdm package, please see the link below:
  <a href="https://github.com/codingo/Interlace/blob/master/Interlace/lib/threader.py" rel="nofollow noreferrer">https://github.com/codingo/Interlace/blob/master/Interlace/lib/threader.py</a></p>
  
  <p>Finally, our aim for this application is having a progress bar stuck to the bottom of the terminal, so that it doesn't affect the output and looks reasonably clean. Any help would be appreciated! </p>