Goonstation 13 - Modules - Types

code/modules/networks/computer3/mainframe2/base_program.dm

/datum/computer/file/mainframe_programMainframe programs represent computer programs, and are responsible for carrying out an instruction or set of instructions specified by commands passed to them. Unlike real computer programs, mainframe programs are not in possession of any ingame representation of "source code" and are hardcoded. Most of DWAINE's functionality is provided by computer programs, which include the kernel, the shell, the drivers, and system utilities (ls, cd, etc...), among other programs.
/proc/command2listCommand2list is a modified version of dd_text2list() designed to eat empty list entries generated by superfluous whitespace. It also can insert shell alias/variables if provided with a replacement value list.