Re: Very odd output from subprocess

2010-07-05 Thread m
On Jul 1, 12:42 am, Nobody nob...@nowhere.com wrote: On Wed, 30 Jun 2010 21:12:12 -0700, m wrote: If I add the line:      for l in line: print ord(l),'\t',l after the first readline, I get the following: 27           91         [ 48         0 48         0 109        m 27        

Re: Very odd output from subprocess

2010-07-01 Thread Nobody
On Wed, 30 Jun 2010 21:12:12 -0700, m wrote: If I add the line: for l in line: print ord(l),'\t',l after the first readline, I get the following: 27 91[ 480 480 109 m 27 91[ 513 557 109 m before the codes begin for the string as it

Very odd output from subprocess

2010-06-30 Thread m
I have this function: def GetMakeOutput(make, rules, out=None): p = subprocess.Popen('%s %s' % (make,rules), shell=True, bufsize=1024, stderr=subprocess.PIPE, stdout=subprocess.PIPE,

Re: Very odd output from subprocess

2010-06-30 Thread Chris Rebert
On Wed, Jun 30, 2010 at 9:12 PM, m mtig...@gmail.com wrote: I have this function: def GetMakeOutput(make, rules, out=None):    p = subprocess.Popen('%s %s' % (make,rules),                         shell=True,                         bufsize=1024,