次のコードがあります。
Process p = new Process();
p.StartInfo.FileName = Path.GetDirectoryName(Application.ExecutablePath) + "\\unRAR.exe";
p.StartInfo.Arguments = @"e c:\appData.rar c:\folderek\";
p.Start();
p.WaitForExit(9000);
ファイルを抽出した後、ウィンドウを閉じないようにしたい(unRAR.exe
抽出します)。WaitForExit(9000)
動作しないようです。何十ものサイトを読みましたが、まだ解決策が見つかりません。