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