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(WindowsUtility.ExecutablePath); Console.WriteLine(args); WindowsUtility.StartProcess(WindowsUtility.ExecutablePath, args); } } }