Sys
The Sys module is a collection of operating-system utility submodules,
each offering a self-contained piece of functionality:
Sys.Consolereads from and writes to the console.Sys.Envaccesses environment variables, command-line arguments, and system properties.Sys.Exitterminates the running JVM.Sys.Processstarts and manages external processes, withSys.ProcessHandleand theSys.StdIn,Sys.StdOut, andSys.StdErrstream wrappers.