def __init__(self, execpath=pexpect.which('M2'), timeout=4, configpath=None):
    ''
    self.conf = M2Config(execpath, configpath)
    self.proc = None
    self.proc_command = self.conf.args.execpath
    self.proc_kwargs = {'args': ['--silent', '--no-debug', '-e', 'load("init.m2")'], 'cwd': (os.path.dirname(__file__) + '/assets/m2-code/'), 'timeout': timeout}
def __init__(self, execpath=pexpect.which('M2'), timeout=4, configpath=None):
    
    self.conf = M2Config(execpath, configpath)
    self.proc = None
    self.proc_command = self.conf.args.execpath
    self.proc_kwargs = {'args': ['--silent', '--no-debug', '-e', 'load("init.m2")'], 'cwd': (os.path.dirname(__file__) + '/assets/m2-code/'), 'timeout': timeout}