public void Start()
        {
            var processMapper = new ProcessMapper();

            foreach (ServiceInstance instance in _configuration.Instances)
            {
                var info    = processMapper.GetProcessStartInfo(_configuration.Executable, instance);
                var process = Process.Start(info);
                process.Exited += (sender, args) => Stop();
                _processes.Add(process);
            }
        }
        public void Start()
        {
            var processMapper = new ProcessMapper();

            foreach (ServiceInstance instance in _configuration.Instances)
            {
                var info = processMapper.GetProcessStartInfo(_configuration.Executable, instance);
                var process = Process.Start(info);
                process.Exited += (sender, args) => Stop();
                _processes.Add(process);
            }
        }