def Open(self, Options, PluginInfo):
        self.Options = Options  # Store Options for Closing processing
        Output = ''
        if not self.Connection:
            CommandList = ['bash']
            if 'ConnectVia' in Options:
                Name, Command = Options['ConnectVia'][0]
                CommandList += Command.split(";")
            CmdCount = 1
            for Cmd in CommandList:
                if CmdCount == 1:
                    self.Connection = pexpect.spawn(Cmd)
                    self.Connection.logfile = sys.stdout  # Ensure screen feedback
                else:
                    self.Run(Cmd)
                CmdCount += 1
            if Options in 'InitialCommands' and Options['InitialCommands']:
                Output += self.RunCommandList(Options['InitialCommands'])
            #Output += self.Read()
        #Output += self.Read()
        return Output
dataset/ETHPy150Open owtf/owtf/framework/shell/pexpect_shell.py/PExpectShell.Open/swapped operands of `in`