cmdWindow에 실행 커맨드(실행파일 + 파라메터) 출력
This commit is contained in:
parent
5a3b6eb3dd
commit
4632736eb4
@ -355,15 +355,16 @@ Public Class MainForm
|
||||
startInfo.CreateNoWindow = True
|
||||
|
||||
ClearTextBoxCmdWindow(i)
|
||||
UpdateTextBoxCmdWindow(i, startInfo.FileName)
|
||||
UpdateTextBoxCmdWindow(i, Environment.NewLine & startInfo.Arguments)
|
||||
|
||||
cmdProcess.StartInfo = startInfo
|
||||
cmdProcess.Start()
|
||||
UpdateTextBoxInfo(i, "STARTING")
|
||||
UpdateTextBoxInfo(i, "DOWNLOADING")
|
||||
|
||||
' 표준 출력 스트림 리더 가져오기
|
||||
Dim reader As StreamReader = cmdProcess.StandardOutput
|
||||
Dim line As String
|
||||
|
||||
' 프로세스가 끝날 때까지 또는 스트림의 끝에 도달할 때까지 한 줄씩 읽기
|
||||
While Not reader.EndOfStream
|
||||
line = reader.ReadLine().Trim
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user