Ship fs/time/sys/json/net L1 libs (plus existing text/table), default-on host caps with soft exit under view, bilingual public/stdlib docs, and design notes for deferred math/foreign. Co-authored-by: Cursor <cursoragent@cursor.com>
343 B
343 B
title: lib/sys — process description: Env, cwd, args, exit, exec
lib/sys.mq.md
main
Import lib/sys.mq.md. Functions: env_get, env_set, args, cwd, exit(code), exec(cmd). Under view, exit soft-fails instead of killing the process.
*d = > cwd *
*n = > len d *
n> 0print text=cwd-ok
-
print text=cwd-empty