Skip to main content

redirect_stdio

Function redirect_stdio 

Source
pub(crate) fn redirect_stdio(log_driver: LogDriver) -> Result<()>
Expand description

Like a daemon, do not keep the standard streams of the caller, like the file the Go client reads the launch errors from, see startServer in pkg/client. The processes the server starts, like the runtimes, would write into it otherwise. Only the stdout log driver writes to them.