Python - capturing subprocess exceptions -



Python - capturing subprocess exceptions -

i'm using os.popen(cmd) connect database isql. in unix, python version 2.3.4. i'm trying implement error handling, , i'm wondering if there's efficient way capture errors/exceptions raised called subprocesses such this, without dealing stderr, etc.

thanks, dan

no.

whatever comes on pipe returned popen the exit code of kid process when pclose process.

python

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -