using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;

namespace Apewer.Run
{

    class Process
    {

        public Process()
        {
            if (Program.Arguments.NotEmpty())
            {
                Console.WriteLine(TextUtility.Join(" | ", Program.Arguments));
                Console.ReadKey();
                return;
            }
            var args = TextUtility.MergeProcessArgument(@"f:\ewq.txt", "title\nbody", "", "quote\"'quote");
            Console.WriteLine(SystemUtility.ExecutablePath);
            Console.WriteLine(args);
            SystemUtility.StartProcess(SystemUtility.ExecutablePath, args);
        }

    }

}