Creates a result with the process exitCode and captured stdout.
exitCode
stdout
const SecureKeyRunResult(this.exitCode, this.stdout);