Hmm, for some reason this didn't work:
VB Code:
Dim startInfo As New ProcessStartInfo(strCommand, strArguments)
Dim proc As New Process
startInfo.UseShellExecute = False
startInfo.RedirectStandardOutput = True
[b]proc.Start(startInfo)[/b]
Dim reader As StreamReader = proc.StandardOutput
But this did:
VB Code:
Dim startInfo As New ProcessStartInfo(strCommand, strArguments)
Dim proc As New Process
startInfo.UseShellExecute = False
startInfo.RedirectStandardOutput = True
[b]proc.StartInfo = startInfo
proc.Start()[/b]
Dim reader As StreamReader = proc.StandardOutput