title: List of commands with Popen
body: <p><strong>Hi guys,</strong></p>
  <p>I have three commands for copy/paste the folder with a similar path. I using this code:</p>
  <pre><code>        from subprocess import Popen, PIPE        
  
  
          cmd_list = [
              'cp -r /opt/some_folder_1/ /home/user_name/',
              'cp -r /var/some_folder_2/ /home/user_name/',
              'cp -r /etc/some_folder_3/ /home/user_name/',
          ]
              copy_paste = Popen(
              cmd_list,
              shell = True,
              stdin = PIPE,
              stdout = PIPE,
              stderr = PIPE
  
          )
  
              stdout, stderr = make_copy.communicate()
  
  </code></pre>
  <p>But for the copy/paste three folders, I should three times run code.
  Could you help me with these guys?</p>
  <p><strong>Thank you!</strong></p>