pub async fn execute_cgi<B, R>(
request: Request<B>,
runtime: R,
cmd: &OsStr,
args: &[&OsStr],
env: CgiBuilder,
) -> Result<(Response<CgiIncoming<CgiResponseInner<<R::Child as Child>::Stdout>>>, Option<<R::Child as Child>::Stderr>, Option<ExitStatus>), Error>Available on crate feature
client only.Expand description
Executes a CGI program, returning the response and error streams.