Skip to main content
Version: 0.8.0

Command

import core.command

run

Return Type: None

Run a command.

Example:

import core.command
command.run("notify-send hi")

run_and_read

Return Type: String

Run a command and read the output.

Example:

import core.command
command.run_and_read("echo Hello")