title: TypeError: must be a str, and not type
body: <p>I am pretty new to Python but have the following code which is returning an error:</p>
  
  <pre><code>        process = subprocess.Popen(GBPath + ' --record'+ DEVICES[0] + ' ' + APP + ' ' + EMAIL, shell=True, stdout=subprocess.PIPE)
          process.wait()
  </code></pre>
  
  <p>The error returned is </p>
  
  <blockquote>
    <p>TypeError: must be a str, and not type </p>
  </blockquote>
  
  <p>For some additional context Devices[0] returns a number, the rest of it is all predefined values</p>
  
  <p>I have solved a lot of errors and this is the only one I cant figure out!</p>