System Utilities#

system.run(command[, silent, background, ...])

Runs a shell command and returns the exit code.

system.collect_output(command[, executable])

Collect the output of a shell command.

system.readlines(filename)

Read the lines of a text file.

system.fatal(message[, retcode])

Print an error message and exit (or raise an exception if in interactive mode).

system.vmpeak()

Return the peak memory usage of the process in kilobytes.

system.hostname([short])

Get the system hostname.