Files
herolib/examples/osal/zinit/simple/zinit.vsh
2025-01-31 15:39:44 +03:00

25 lines
560 B
GLSL

#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import os
import time
import freeflowuniverse.herolib.osal.zinit
zinit.destroy()!
mut z := zinit.new()!
// name string [required]
// cmd string [required]
// cmd_file bool //if we wanna force to run it as a file which is given to bash -c (not just a cmd in zinit)
// test string
// test_file bool
// after []string
// env map[string]string
// oneshot bool
p := z.process_new(
name: 'test'
cmd: '/bin/bash'
)!
println(p)