running-process-platform-internal 4.10.3

Blessed platform process operations for running-process (implementation detail)
Documentation
1
2
3
4
5
6
7
8
9
10
//! Portable local-socket relay for Windows named pipes.

/// Relay a pair of established local sockets through Tokio's bounded buffers.
pub async fn relay_local_socket_session(
    mut client: interprocess::local_socket::tokio::Stream,
    mut daemon: interprocess::local_socket::tokio::Stream,
) -> std::io::Result<()> {
    tokio::io::copy_bidirectional(&mut client, &mut daemon).await?;
    Ok(())
}