Re: Non-blocking subprocess call

2007-06-04 Thread Nick Craig-Wood
Kevin Walzer <[EMAIL PROTECTED]> wrote: > I'm currently using os.popen in an application of mine, which calls for > non-blocking data, in this fashion: > >self.file = os.popen('echo %s | sudo -S /sw/bin/fink -y install %s' % > (self.passtext, self.packagename), 'r', os.O_NONBLOCK) > > W

Re: Non-blocking subprocess call

2007-06-02 Thread Kevin Walzer
Josiah Carlson wrote: > > If you are talking about non-blocking reading and writing from the > subprocess, there isn't natively. But there is a cookbook entry: > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554 > > - Josiah Any idea why this feature was removed from the lan

Re: Non-blocking subprocess call

2007-06-02 Thread Josiah Carlson
Kevin Walzer wrote: > I'm currently using os.popen in an application of mine, which calls for > non-blocking data, in this fashion: > > self.file = os.popen('echo %s | sudo -S /sw/bin/fink -y install %s' % > (self.passtext, self.packagename), 'r', os.O_NONBLOCK) > > What is the equivalent/comp

Non-blocking subprocess call

2007-06-02 Thread Kevin Walzer
I'm currently using os.popen in an application of mine, which calls for non-blocking data, in this fashion: self.file = os.popen('echo %s | sudo -S /sw/bin/fink -y install %s' % (self.passtext, self.packagename), 'r', os.O_NONBLOCK) What is the equivalent/comparable call in the new subprocess