I know this is how you can retrieve the exit status of a console application:
Dim CFVProcess As New System.Diagnostics.Process
CFVProcess.StartInfo.FileName = "CMD"
CFVProcess.StartInfo.Arguments = "/C CFV -T C:\Verify.sfv"
I am looking to execute an R script from VB as below.
The script runs fine but the redirection doesnt seem to happen. The
redirection operator and the out file seem to be treated as arguments
to the R script. Is there a way to get the > operator working
dim proc as new...
please move to: VB.NET General Discussion
is it possibe to receive a StandardErrorOutput of a startet process if you start it under an other user?
I get an error message "invaild handle".
Here is my Code:
Public prog As New System.Diagnostics.Process()