Virgil
4974b0fd08
fix(process): prefer resolved program path
2026-04-04 03:10:39 +00:00
Virgil
c9deb8fdfd
fix(process): let Program.Find validate existing paths
2026-04-04 03:07:13 +00:00
Virgil
6c1d53a237
fix(process): preserve leading whitespace in Program output
2026-04-04 02:39:59 +00:00
Virgil
fa79e4eee7
fix(process): guard program run inputs
2026-04-04 00:18:14 +00:00
Claude
a09ca4f408
chore: migrate to dappco.re vanity import path
...
Module path: forge.lthn.ai/core/go-process -> dappco.re/go/core/process
Import path updates:
- forge.lthn.ai/core/go-log -> dappco.re/go/core/log
- forge.lthn.ai/core/go-io -> dappco.re/go/core/io
- forge.lthn.ai/core/go-ws -> dappco.re/go/core/ws
- forge.lthn.ai/core/go-process (self) -> dappco.re/go/core/process
- forge.lthn.ai/core/api left as-is (not yet migrated)
Local replace directives added until vanity URL server is configured.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:49:08 +00:00
Snider
87b16ca41c
feat(process): add Program struct with Find, Run, RunDir
...
Add Program to the process package as a lightweight tool-finder and runner.
Find() resolves a binary via exec.LookPath (wrapping ErrProgramNotFound),
Run() and RunDir() execute the binary and return trimmed combined output.
Includes 7 tests covering happy paths, error paths, and the errors.Is contract.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-18 15:07:03 +00:00