Hi @fabio-xodo_3872 , This is not captured in an output variable, but you can control which exit code means success or failure: Exec MyProcess.exe ( SuccessExitCode: "> 0" ); Another alternative is to write a PowerShell script that captures the output as a variable, if you need to do logic based on multiple codes. We could always add support for capturing it as an output variable as well. hope that helps, Alana