Emojicode Documentation 1.0 beta 2
ads via Carbon Copy‑paste ready CSS & JavaScript patterns with accessibility baked in. ads via Carbon

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.

πŸ•΄

πŸ‡β—οΈ πŸ•΄  command πŸ”‘ 

Returns the standard output of running command in a subshell.

πŸ•°

πŸ‡β—οΈ πŸ•° ➑️ πŸ”’

Returns the current time in seconds since the Epoch in Greenwich Mean Time.

🀯

πŸ‡β—οΈ 🀯  message πŸ”‘ 

Panic. Aborts the program with the provided message.

Caution

Only use this function when the program hits upon an error so serious that recovery is impossible.