fenri's diary

基本的には勉強し始めたC#のメモ。後は140字で収まらない駄文。

別アプリの読み出し方法

try
{
	string path_exe = Program.Path_ApplicationRoot + "\\Tool\\PointSokutei1.0.6.exe";
	System.Diagnostics.Process p = System.Diagnostics.Process.Start(path_exe,"1");
	p.WaitForExit();
}
catch (Exception ex)
{
	DataLog.Exception(ex);
}

Process.Start(path_exe,"1"); 
 起動するアプリのパスとコマンドライン引数

WaitForExit()
 呼び出したアプリが終了するまで待つ。