lib/process: Add process_get_stdout