Files
herolib/examples/osal/systemd.vsh
2024-12-30 17:36:22 +02:00

14 lines
419 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')!