From c9c1aaad7de0ca47b0a19ac9ee9c693053a58950 Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 19 Oct 2010 11:12:44 +0000 Subject: [PATCH] Windows porting --- bin/runSalome.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 067ae0d92..33c2eb3ae 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -601,7 +601,10 @@ def startSalome(args, modules_list, modules_root_dir): # set PYTHONINSPECT variable (python interpreter in interactive mode) if args['pinter']: os.environ["PYTHONINSPECT"]="1" - import readline + try: + import readline + except ImportError: + pass return clt -- 2.39.2