Click or drag to resize
UtilitiesGetExecutableOutput Method
Run an executable, wait for it to exit, and return its output as a string. NOTE: Uses CreateProcess, so you cannot launch applications which require Elevation.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string GetExecutableOutput(
	string sExecute,
	string sParams,
	out int iExitCode
)

Parameters

sExecute
Type: SystemString
Fully-qualified filename of file to Execute
sParams
Type: SystemString
Command-line parameters to pass
iExitCode
Type: SystemInt32
Exit code returned by the executable

Return Value

Type: String
String containing the standard-output of the executable
See Also