When result is coerced to a string, the value is stdout if the exit code was zero, the fallback if the exit code was non-zero and a fallback was specified, or stderr if the exit code was non-zero and a fallback was not specified.