Files
marqdo/public/stdlib/sys.mq.md
T
cflmyandCursor 3a7e11c995 Add ext/agent layout framework, ext CLI, and docs catch-up.
Ship ABI agent plugin helpers, marqdo ext list/add/remove, and document the agent development roadmap (compose LLM, match/assign).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:31:25 +08:00

429 B


title: lib/sys — process description: Env, dotenv, cwd, args, exit, exec

lib/sys.mq.md


main

Import lib/sys.mq.md. Functions: env_get, env_set, load_dotenv(optional path), args, cwd, exit(code), exec(cmd). load_dotenv does not override existing variables. 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