@property
def executablePath(self):
    path = Config().read().value('Quanty/Path')
    if (path is None):
        message = 'The path to the Quanty executable is not set. Please use the preferences menu to set it.'
        raise FileNotFoundError(message)
    with open(os.devnull, 'w') as fp:
        try:
            subprocess.call(path, stdout=fp, stderr=fp)
        except FileNotFoundError as e:
            message = 'The Quanty executable is not working properly. Is the PATH set correctly?'
            logger.error(message)
            raise e
    return path
@property
def executablePath(self):
    path = Config().read().value('Quanty/Path')
    if (path is None):
        message = 'The path to the Quanty executable is not set. Please use the preferences menu to set it.'
        raise FileNotFoundError(message)
    with open(os.devnull, 'w') as fp:
        try:
            subprocess.call(path, stdout=fp, stderr=fp)
        except FileNotFoundError as e:
            message = 'The Quanty executable is not working properly. Is the PATH set correctly?'
            logger.error(message)
            raise e
    return path