Only use this function when the program hits upon an error so serious that recovery is impossible.
Class π»
Interaction with the operating system.
π» provides several class methods that can be used to interact with the operating system. It cannot be instantiated.
Type Methods
π
πβοΈ π β‘οΈ π¨ππ‘π
Returns a list of the arguments passed to the programm. Calling this method is rather expensive.
π³
πβοΈ π³ variableName π‘ β‘οΈ π¬π‘
Gets an environment variable by its name. If the variable cannot be found β¨ is returned.
πͺ
πβοΈ πͺ status π’
Immediately exits the program with the given status code. The code may not be larger than 255 on most operating systems.
π°
πβοΈ π° β‘οΈ π’
Returns the current time in seconds since the Epoch in Greenwich Mean Time.