From: cascade Date: Fri, 7 Apr 2006 19:58:02 +0000 (+0000) Subject: OCC12131 Improvement of Exception mechanism on Unix and Linux platforms cdl, hxx... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=b2af851147942e4839155d9fe6c2b9e84d3a26d5;p=occt-wok.git OCC12131 Improvement of Exception mechanism on Unix and Linux platforms cdl, hxx, cxx --- diff --git a/src/WOKSH/wokprocess.cxx b/src/WOKSH/wokprocess.cxx index 43d7222..5500bc5 100755 --- a/src/WOKSH/wokprocess.cxx +++ b/src/WOKSH/wokprocess.cxx @@ -109,6 +109,7 @@ int main(int argc, char **argv) WOKInter->AddExitHandler(Wok_ExitHandler); try { + OCC_CATCH_SIGNALS WOKTools_Return returns; WOKInter->ChangeSession().Open(); diff --git a/src/WOKSH/woksh.cxx b/src/WOKSH/woksh.cxx index 771987e..62f2927 100755 --- a/src/WOKSH/woksh.cxx +++ b/src/WOKSH/woksh.cxx @@ -168,6 +168,7 @@ int Wok_Init(WOKTclTools_PInterp interp) WOKUtils_ProcessManager::Arm(); try { + OCC_CATCH_SIGNALS WOKInter->ChangeSession().Open();