質問するログイン新規登録

質問編集履歴

1

typo修正 (standart → standard)

2020/10/30 00:41

投稿

marusa
marusa

スコア17

title CHANGED
File without changes
body CHANGED
@@ -30,7 +30,7 @@
30
30
  Verb = "RunAs",
31
31
  UseShellExecute = false,
32
32
  FileName = "cmd.exe",
33
- RedirectStandartInput = true,
33
+ RedirectStandardInput = true,
34
34
  };
35
35
  Process proc = Process.Start(procInfo);
36
36
  proc.StandardInput.WriteLine("echo \"ログオフ\"");