public PythonEngineService(ILogger <PythonEngineService> logger)
        {
            _logger = logger ?? throw new ArgumentNullException(nameof(logger));

            _logPythonProxy      = new LogPythonProxy(_logger);
            _pythonIOToLogStream = new PythonIOToLogStream(_logger);
        }
        public PythonEngineService(SystemStatusService systemStatusService, ILogger <PythonEngineService> logger)
        {
            if (systemStatusService == null)
            {
                throw new ArgumentNullException(nameof(systemStatusService));
            }
            systemStatusService.Set("python_engine.created_script_hosts_count", () => _createdScriptHostsCount);

            _logger = logger ?? throw new ArgumentNullException(nameof(logger));

            _logPythonProxy      = new LogPythonProxy(_logger);
            _pythonIOToLogStream = new PythonIOToLogStream(_logger);
        }