Skip to main content

Module process

Module process 

Source
Expand description

Spawn programs on the daemon’s machine. Grant: process.exec:<program> naming the program exactly as spawned (process.exec:* for any), or machine.full. Children are killed when the plugin stops.

Structs§

Child
A spawned program.
Command
A program with its arguments, environment, directory and streams. It inherits the plugin’s environment (env) and runs in the user’s home unless told otherwise.

Enums§

Stdio
Where a child’s standard stream goes.

Functions§

spawn
Spawns program with args: no stdin, output to the daemon’s log.