Re: subprocess help

2014-04-17 Thread Влатко Станковиќ
> > > > -- Forwarded message -- >> From: Steven D'Aprano >> To: python-list@python.org >> Cc: >> Date: 16 Apr 2014 12:06:16 GMT >> Subject: Re: subprocess help >> On Wed, 16 Apr 2014 12:47:03 +0200, Влатко Станковиќ wrote: &g

Re: subprocess help

2014-04-16 Thread Steven D'Aprano
On Wed, 16 Apr 2014 12:47:03 +0200, Влатко Станковиќ wrote: > Hello, > I'm having some sort of 'problem' when using subprocess calls. This is > the code snipet that i am using: > > capture_server1 = '''xvfb-run --auto-servernum ... ''' > server1_download = subprocess.Popen(shlex.split(capture_ser

Re: subprocess help

2014-04-16 Thread Chris Angelico
On Wed, Apr 16, 2014 at 8:47 PM, Влатко Станковиќ wrote: > capture_server1 = '''xvfb-run --auto-servernum ... ''' > server1_download = subprocess.Popen(shlex.split(capture_server1) Separate to your actual problem: Is there a reason for splitting like that, rather than simply using a list of separ