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

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -