Emojicode Documentation 1.0 beta 2

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.