You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
694 B
28 lines
694 B
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);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|