def METHOD_NAME(self):
    """set the command that will be executed"""
    self.command = self.executable
    if os.path.exists(os.path.basename(self.executable)):
        self.executable = os.path.basename(self.executable)
        if not os.access(f"{os.getcwd()}/{self.executable}", 5):
            # doc in https://docs.python.org/2/library/stat.html#stat.S_IRWXU
            os.chmod(
                f"{os.getcwd()}/{self.executable}",
                stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP | stat.S_IROTH | stat.S_IXOTH,
            )
        self.command = f"{os.getcwd()}/{self.executable}"
    elif re.search(".py$", self.executable):
        self.command = f"{sys.executable} {self.executable}"
    elif shutil.which(self.executable):
        self.command = self.executable
    if self.arguments:
        self.command = f"{self.command} {self.arguments}"
    self.log.info(f"Command is: {self.command}")