Skip to main content
Version: Next

Command

import ewwii.command

run​

Return Type: None

Run a command.

Example:

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

run_and_read​

Return Type: String

Run a command and read the output.

Example:

import ewwii.command
let stdout = command.run_and_read("echo Hello")
print(stdout)