mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
11 lines
375 B
Text
11 lines
375 B
Text
// Tardygrada — exec() Example
|
|
// Agent bodies are shell command pipelines.
|
|
// Output is captured, verified, and frozen.
|
|
|
|
agent SysInfo {
|
|
let hostname: str = exec("hostname")
|
|
let kernel: str = exec("uname -sr")
|
|
let date: str = exec("date -u +%Y-%m-%dT%H:%M:%SZ")
|
|
let files: str = exec("ls examples/ | head -5")
|
|
let name: str = "tardygrada" @sovereign
|
|
}
|