title: Getting a '\n' (new line by default) during a subprocess call) on date format why?
body: <p>Here the trace</p>
  
  <pre><code>IOError: [Errno 2] No such file or directory: 'security01/30/15,15:32:58\n.jpg' 
  #how and why \n come here?
  </code></pre>
  
  <p>for  these line:</p>
  
  <pre><code>p = subprocess.Popen(['date +%m/%d/%y,%H:%M:%S']
  stdout=subprocess.PIPE,shell=True)
  </code></pre>
  
  <p>Additional line used:</p>
  
  <pre><code>(output, err) = p.communicate()
      args = ['fswebcam','--no-banner','-r',' 960x720','filename' +       str(output) + '.jpg']
      subprocess.call(args)
  </code></pre>
  
  <p>Another line:</p>
  
  <pre><code>mail('mail@mail.com',
     'subject',
     'body',
     'filename' + str(output)  + '.jpg')
  </code></pre>