readProcessWithExitCode package:rawfilepath

Fork an external process, read its standard output and standard error strictly, blocking until the process terminates, and return them with the process exit code.