Files
herolib/examples/osal/systemd.vsh
2024-12-30 08:39:45 +01:00

15 lines
418 B
GLSL
Executable File

#!/usr/bin/env -S v -n -w -gc none -no-retry-compilation -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.osal.systemd
mut systemdfactory := systemd.new()!
// mut systemdprocess := systemdfactory.new(
// cmd: '/usr/local/bin/zinit init'
// name: 'zinit'
// description: 'a super easy to use startup manager.'
// )!
l:=systemd.process_list()!
println(l)
systemdfactory.destroy("zinit")!