メモ..._〆(゚▽゚*) メモメモ
Posted by No Name Ninja - 2008.01.10,Thu
.NET TIPS 「ほかのアプリケーションを実行してその終了を待つには?」http://www.atmarkit.co.jp/fdotnet/dotnettips/269procwaitexit/procwaitexit.html
using System.Diagnostics;
public class ProcessStart {
static void Main() {
Process proc = new Process(); // (1)
proc.StartInfo.FileName= "notepad.exe"; // (2)
proc.Start(); // (3)
proc.WaitForExit(); // (4)
Console.WriteLine("メモ帳、終了!");
}
【メモ】
PR
Comments
Post a Comment
カレンダー
フリーエリア
最新コメント
最新記事
(06/18)
(01/12)
(01/11)
(01/10)
最新トラックバック
プロフィール
HN:
No Name Ninja
性別:
非公開
ブログ内検索
最古記事
(01/10)
(01/11)
(01/12)
(06/18)
カウンター
アクセス解析
Template by mavericyard*
Powered by "Samurai Factory"
Powered by "Samurai Factory"