Re: Trapping the segfault of a subprocess.Popen

2011-04-07 Thread Pierre GM
On Apr 7, 5:12 am, Terry Reedy wrote: > On 4/6/2011 7:58 PM, Nobody wrote: > > > On Wed, 06 Apr 2011 02:20:22 -0700, Pierre GM wrote: > > >> I need to run a third-party binary from a python script and retrieve > >> its output (and its error messages). I use something like > > process = subproc

Re: Trapping the segfault of a subprocess.Popen

2011-04-07 Thread Pierre GM
On Apr 7, 1:58 am, Nobody wrote: > On Wed, 06 Apr 2011 02:20:22 -0700, Pierre GM wrote: > > I need to run a third-party binary from a python script and retrieve > > its output (and its error messages). I use something like > process = subprocess.Popen(options, stdout=subprocess.PIPE, > > stde

Re: Trapping the segfault of a subprocess.Popen

2011-04-06 Thread Terry Reedy
On 4/6/2011 7:58 PM, Nobody wrote: On Wed, 06 Apr 2011 02:20:22 -0700, Pierre GM wrote: I need to run a third-party binary from a python script and retrieve its output (and its error messages). I use something like process = subprocess.Popen(options, stdout=subprocess.PIPE, stderr=subprocess.

Re: Trapping the segfault of a subprocess.Popen

2011-04-06 Thread Dan Stromberg
On Wed, Apr 6, 2011 at 2:20 AM, Pierre GM wrote: > All, > > I need to run a third-party binary from a python script and retrieve > its output (and its error messages). I use something like > >>> process = subprocess.Popen(options, stdout=subprocess.PIPE, > stderr=subprocess.PIPE) > >>> (info_out,

Re: Trapping the segfault of a subprocess.Popen

2011-04-06 Thread Nobody
On Wed, 06 Apr 2011 02:20:22 -0700, Pierre GM wrote: > I need to run a third-party binary from a python script and retrieve > its output (and its error messages). I use something like process = subprocess.Popen(options, stdout=subprocess.PIPE, > stderr=subprocess.PIPE) (info_out, info_er