fix: resolve a relative dump path against the working directory #12
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Freminet--ScarlettX!12
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/12/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AutoComput on GitHub · 2026-11-21 10:38 UTC · original
AutoComput:fix/relative-dump-path→main· +9 −4 · 2 files · 1 commits · merged 2026-11-22 09:58 UTCTL;DR
A relative
--rt-dumpor--raster-dumppath is passed to the guest unchanged. A child-process guest runs in the package directory, soscarlettx boot pkg --rt-dump rt_frame.ppm(the README example) writes the dump into the package, not where you ran the command.--in-processresolves it against the real working directory, so the two modes disagree.Both paths are now made absolute before the guest starts.
test_scarlett_arena_e2enow passes a relative path for its child-process boot and expects the file in its own working directory; it fails without the fix.--raster-dumpchecked by hand only. Same function as #1, #3 and #6, different lines.