#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
import unittest, sys, os
class SalomeSession(object):
def __init__(self, script):
import unittest, sys, os
class SalomeSession(object):
def __init__(self, script):
if sys.platform == 'win32':
module_dir = os.getenv("KERNEL_ROOT_DIR")
if module_dir: run_script = os.path.join(module_dir, "bin", "salome", run_script)
if sys.platform == 'win32':
module_dir = os.getenv("KERNEL_ROOT_DIR")
if module_dir: run_script = os.path.join(module_dir, "bin", "salome", run_script)