Module pty

Module pty 

Source
Expand description

Modified from https://github.com/wez/wezterm/tree/main/pty

Structs§

ExitStatus
Represents the exit status of a child process.
PtyFd
PtyPair
PtySize
Represents the size of the visible display area in the pty
UnixMasterPty
Represents the master end of a pty. The file descriptor will be closed when the Pty is dropped.
UnixPtySystem
UnixSlavePty
Represents the slave end of a pty. The file descriptor will be closed when the Pty is dropped.

Traits§

Child
Represents a child process spawned into the pty. This handle can be used to wait for or terminate that child process.
ChildKiller
Represents the ability to signal a Child to terminate
MasterPty
Represents the master/control end of the pty
PtySystem
The PtySystem trait allows an application to work with multiple possible Pty implementations at runtime. This is important on Windows systems which have a variety of implementations.

Functions§

native_pty_system
spawn_command

Type Aliases§

NativePtySystem