title: user running a process with tasklist and python
body: <p>In windows, with python and tasklist :</p>
  
  <pre><code>import subprocess
  cmd = 'tasklist'
  proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
  lines = []
  for line in proc.stdout:
      if 'flac' in line:
          lines.append(line)
  
  for l in lines:
      print [l]
  </code></pre>
  
  <p>I get some informtation about the running process.</p>
  
  <p>How I can get the user owner of any process ? </p>