Files
marqdo/lib/sys.mq.md
T
cflmyandCursor 1f23e2ed93 Add module namespaces and harden L1/agent after the import redesign.
Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:28:32 +08:00

42 lines
585 B
Markdown

---
title: lib/sys
description: English system wrappers (load_dotenv accepts optional path via host alias)
---
## env_get
+ `name`
**> host_env_get name=`name`**
## env_set
+ `name`
+ `value`
**> host_env_set name=`name` value=`value`**
## load_dotenv
+ `path`=None
Load `.env` (optional named arg `path=`). Existing process env is not overridden.
**> host_dotenv_load path=`path`**
## args
**> host_args**
## cwd
**> host_cwd**
## exit
+ `code`
**> host_exit code=`code`**
## exec
+ `cmd`
+ `args`=None
**> host_exec cmd=`cmd` args=`args`**