mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
chore: fix docs links (#1523)
This commit is contained in:
committed by
Carl Lerche
parent
6369d0f4f2
commit
c0a64d67ca
@@ -1,6 +1,6 @@
|
||||
//! An implementation of asynchronous process management for Tokio.
|
||||
//!
|
||||
//! This module provides a [`Command`](Command) struct that imitates the interface of the
|
||||
//! This module provides a [`Command`](crate::process::Command) struct that imitates the interface of the
|
||||
//! [`std::process::Command`] type in the standard library, but provides asynchronous versions of
|
||||
//! functions that create processes. These functions (`spawn`, `status`, `output` and their
|
||||
//! variants) return "future aware" types that interoperate with Tokio. The asynchronous process
|
||||
@@ -101,10 +101,10 @@
|
||||
//! While similar to the standard library, this crate's `Child` type differs
|
||||
//! importantly in the behavior of `drop`. In the standard library, a child
|
||||
//! process will continue running after the instance of [`std::process::Child`]
|
||||
//! is dropped. In this crate, however, because [`tokio_net::process::Child`](Child) is a
|
||||
//! is dropped. In this crate, however, because [`tokio_net::process::Child`](crate::process::Child) is a
|
||||
//! future of the child's `ExitStatus`, a child process is terminated if
|
||||
//! `tokio_net::process::Child` is dropped. The behavior of the standard library can
|
||||
//! be regained with the [`Child::forget`] method.
|
||||
//! be regained with the [`Child::forget`](crate::process::Child::forget) method.
|
||||
|
||||
use std::ffi::OsStr;
|
||||
use std::future::Future;
|
||||
|
||||
Reference in New Issue
Block a user