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

14 lines
374 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
import freeflowuniverse.herolib.ui.console
console.silent_set()
mut job2 := osal.exec(cmd: 'ls /',debug:true)!
println("I got nothing above")
console.silent_unset()
println("now I will get output")
osal.exec(cmd: 'ls /',debug:true)!