Execute the configured process and capture output.
max size of output to capture.
ProcessResult instance that contains output and exit-code of program
See Implementation
Execute the configured process and capture output.