Commit Graph
3 Commits
Author SHA1 Message Date
waozi dc2b2dc312 Give std's size_t libc parameters pointer-sized types
getcwd, readlink, read, write, bcopy, mempcpy, poll and curl_ws_recv took u64
or s64 for size_t, ssize_t and nfds_t values. On wasm32 that linked with a
function signature mismatch and trapped when called. A check now reads std's
bindings for these functions, and another builds file_tree_linux for wasm32.
2026-11-07 02:51:07 -03:00
waozi 68e76ca202 Open a child's redirect files before it changes directory
StartProcess changed into `directory` first, so a relative output_path
resolved under the child's folder: Wurm's private UI test asked for
build/research/ui/app.log from build/ and failed to start on a fresh
checkout (it only passed where a stale build/build/ existed). Input,
output and error now open relative to the caller, as the options
document, and std_tools_linux.sh checks it.
2026-10-29 15:33:07 -03:00
waozi f87bf147fc Run children, manage folders and edit text from native std
std/process_run_linux runs a child with any number of arguments, a working
directory, environment changes and each stream inherited, redirected or
captured, and follows children left running. std/file_tree_linux creates,
lists, copies and removes folders, reads a path's status, replaces files
atomically, takes flock locks and matches wildcards. std/text_tools finds,
splits, trims, replaces and joins text. Build and release programs no
longer need Python for these steps.
2026-10-29 12:35:19 -03:00