Re: IOError: [Errno 4] Interrupted system call

2007-02-16 Thread Gabriel Genellina
En Fri, 16 Feb 2007 18:07:40 -0300, <[EMAIL PROTECTED]> escribió: > i don't have any signal handlers in my code, but i have no idea what > is going on in the internals of the pyQt framework that i'm using for > the GUI. > > p = subprocess.Popen('mycommand', shell=True, stdin=subprocess.PIPE, > std

Re: IOError: [Errno 4] Interrupted system call

2007-02-16 Thread Donn Cave
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > i don't have any signal handlers in my code, but i have no idea what > is going on in the internals of the pyQt framework that i'm using for > the GUI. > > as far as simply ignoring the exception, that does not seem to work. > for instan

Re: IOError: [Errno 4] Interrupted system call

2007-02-16 Thread chadrik
i don't have any signal handlers in my code, but i have no idea what is going on in the internals of the pyQt framework that i'm using for the GUI. as far as simply ignoring the exception, that does not seem to work. for instance, here's some code i've tried: p = subprocess.Popen('mycommand', sh

Re: IOError: [Errno 4] Interrupted system call

2007-02-16 Thread Donn Cave
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > i'm getting the same error when trying to read results from popen2 > within a pyQt window. is this a threading issue? is my pyQt window > responsible for interrupting the read? i'm fairly new to python so > i'm struggling to figure this

Re: IOError: [Errno 4] Interrupted system call

2007-02-15 Thread Gabriel Genellina
En Thu, 15 Feb 2007 23:57:29 -0300, <[EMAIL PROTECTED]> escribió: > i'm getting the same error when trying to read results from popen2 > within a pyQt window. is this a threading issue? is my pyQt window > responsible for interrupting the read? i'm fairly new to python so > i'm struggling to fig

Re: IOError: [Errno 4] Interrupted system call

2007-02-15 Thread chadrik
i'm getting the same error when trying to read results from popen2 within a pyQt window. is this a threading issue? is my pyQt window responsible for interrupting the read? i'm fairly new to python so i'm struggling to figure this out. can you recommend any possible methods of preventing this? fo

Re: IOError: [Errno 4] Interrupted system call

2007-02-07 Thread Donn Cave
In article <[EMAIL PROTECTED]>, Marco <[EMAIL PROTECTED]> wrote: > Hello,every one, I meet a question: > > in my old script, I usually use os.popen2() to get info from standard > unix(LinuX) program like ps,ifconfig... > > Now, I write a OO-based programme, I still use os.popen2( check > whethe

Re: IOError: [Errno 4] Interrupted system call

2007-02-06 Thread Gabriel Genellina
En Tue, 06 Feb 2007 22:09:00 -0300, Marco <[EMAIL PROTECTED]> escribió: > in my old script, I usually use os.popen2() to get info from standard > unix(LinuX) program like ps,ifconfig... > > Now, I write a OO-based programme, I still use os.popen2( check > whether mplayer still working via ps comma