I am running an exe through commandline and getting following output.
C:\Users\sysadmin>C:\Users\sysadmin\Desktop\New_folder\Setup\PatchInstaller.exe --mode=silent
C:\Users\sysadmin Begin Setup UI mode: Silent Error : Another instance running, Only a single instance can be run at a time. Exit Code: 11
i am running this through System.daignostics.process.
My issue is PatchInstaller.exe calling another process and the output of that nested process is what is visible with cmd. but the same result and exit code i am not able to get through Process object ofPatchInstaller.exe. Is there any way of getting output of process running within process?
Following is the code i have tired...
Here my exe is running and it will execute the below line first,
C:\Users\sysadmin\Desktop\New_folder\Setup\PatchInstaller.exe --mode=silent
Now PatchInstaller.exe is internally executing other process, I am expecting the output from this internal process,
(Example A:
(Note: PatchInstaller.exe is thirdparty exe. When we are excuting from command-line we are getting (Example A) output. )