Terminal
Types
Properties
Link copied to clipboard
Whether suspendProcess is supported. It needs job control, which Windows does not have, and only applies to the terminal the process was started in, not, for example, a remote one.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Restores the terminal to how it was before this took it over while block runs, so that other programs can use it, like an editor or an interactive command, and takes it over again afterwards. No events are read meanwhile, so they go to those programs instead.
Link copied to clipboard
Stops the process like Ctrl+Z normally does in a shell, with the terminal released, and returns once the shell continues it, like with fg. Returns false right away when canSuspendProcess is false.