void Run(PaketCommandLine commandLine)
        {
            var operation = Runtime.ProcessService.StartConsoleProcess(
                commandLine.Command,
                commandLine.Arguments,
                commandLine.WorkingDirectory,
                GetConsole()
                );

            operation.Task.Wait();
        }
        public override void Run()
        {
            if (!File.Exists(dependenciesFileName))
            {
                // Workaround Paket bug - Cannot call Dependencies.Init since this will
                // fail if the current working directory does not match the directory for
                // the paket.dependencies file.
                // https://github.com/fsprojects/Paket/issues/2886

                var commandLine = PaketCommandLine.CreateCommandLine("init");
                Run(commandLine);
            }
        }