title: How to run a python script as a background process that takes different parameters from the command prompt?
body: <p>I want to run a python program that runs in the background. It takes a folder directory and  size as parameters and and compresses the files in the folder which are greater than the provided size. Also it will show description of the program that is in <code>helpInfo()</code> method if given the parameter</p>
  
  <blockquote>
    <p>-h</p>
  </blockquote>
  
  <p>. <a href="https://paste.ubuntu.com/p/XXmDbfpJ3c/" rel="nofollow noreferrer">I have written the program normally here</a></p>
  
  <p>Now how to run this program as a background process with <code>path</code> and <code>size</code> info given as parameters and will show help information if given parameter <code>-h</code></p>