[issue21504] can the subprocess module war using os.wait4 and so return usage?

2014-05-13 Thread donald petravick
New submission from donald petravick: hi, we use python for the Dark Energy Survey and use the subprocess module to run a variety of programs, which we do not control. One concern we have is to monitor system information such as whether the code causes swapping. It's be really usef

[issue21504] can the subprocess module war using os.wait4 and so return usage?

2014-05-14 Thread donald petravick
donald petravick added the comment: Victor, thanks so much for reading my ticket and contacting me. I prototyped what makes sense to me by subclassing subprocess.Popen and Over-ridden the wait method to do what I suggested. Proof of concept attached. \ It¹s a bit of a hack since I cribbed

[issue21504] can the subprocess module war using os.wait4 and so return usage?

2014-05-30 Thread donald petravick
donald petravick added the comment: Ok. I have a subclass with a copied out - then-modified wait method. ¹twill do for now. I¹m clueless as to what the windows analog of wait4() would be. On 5/30/14, 3:10 PM, "R. David Murray" wrote: > >R. David Murray added the comment