lib/process: replace pb_run_cmd_pipe