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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top