「シェルコマンドを実行」の版間の差分
SyntaxHighlightにcopyの追加 |
オブジェクト名の修正(マクロリファレンス:3:OutputBar オブジェクトを参照) |
||
| 47行目: | 47行目: | ||
// アウトプットバーにシェルコマンド実行結果を出力 | // アウトプットバーにシェルコマンド実行結果を出力 | ||
outputBar.visible = true; | |||
outputBar.Clear(); | |||
while (exec.Status == 0) { | while (exec.Status == 0) { | ||
outputBar.Write(exec.StdOut.ReadAll()); | |||
sleep(100); | sleep(100); | ||
} | } | ||
outputBar.Write(exec.StdOut.ReadAll()); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
スポンサーリンク