Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
Dim proccess As New Process
|
||||
Dim startInfo As New ProcessStartInfo
|
||||
|
||||
startInfo.WindowStyle = ProcessWindowStyle.Hidden
|
||||
startInfo.FileName = "cmd.exe"
|
||||
startInfo.Arguments = "/c echo Hello World"
|
||||
startInfo.RedirectStandardOutput = True
|
||||
startInfo.UseShellExecute = False
|
||||
|
||||
proccess.StartInfo = startInfo
|
||||
proccess.Start()
|
||||
|
||||
Dim output = proccess.StandardOutput.ReadToEnd
|
||||
Console.WriteLine("Output is {0}", output)
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue