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>
19 lines
343 B
Markdown
19 lines
343 B
Markdown
---
|
|
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` > 0
|
|
> print text=cwd-ok
|
|
+ *
|
|
> print text=cwd-empty
|