ZeroInstall.Program.RunCliWindows C# (CSharp) Method

RunCliWindows() private static method

Runs the application in command-line mode with special-case handling for retroactively attached Windows consoles.
private static RunCliWindows ( string args ) : ExitCode
args string The command-line arguments passed to the application.
return ExitCode
        private static ExitCode RunCliWindows(string[] args)
        {
            using (var handler = new CliTaskHandler())
            {
                try
                {
                    Console.WriteLine();
                    return Run(args, handler, gui: false);
                }
                finally
                {
                    if (handler.Verbosity != Verbosity.Batch)
                    {
                        Console.WriteLine();
                        Console.Write(Environment.CurrentDirectory + @">");
                    }
                }
            }
        }