Popen4 exception handling

J

Jim

Hi, I'm using popen2.Popen4 and I'm curious what exceptions it could
raise

for example
p = popen2.POpen4( 'command string' )
i'm assuming would only raise OSError exceptions if something went
wrong internally with popen.

and also, for read operations like:
p.fromchild.read()
i'm assuming it would raise IOError exceptions

is this correct? or maybe popen2 module does somethign else?
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top