Repository navigation
Conversation
`owly test-card` spawned `owly receive --accept` with stdout and stderr sent to `/dev/null`, so testers got no confirmation when an incoming transfer landed in `/tmp/owly-test-<time>` before seeing the "Did it arrive?" prompt.
Pipe the child receiver's stdout and stderr through `ReceiverMonitor`, surface received paths (with file size, escaped with `{:?}` per SEC-4) and receiver failure lines while redrawing any active prompt cleanly, and list any already-received files right before asking whether the photo arrived.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
owly test-cardstartsowly receive --accept, but previously sent both of the receiver's output streams to/dev/null. A tester therefore received no confirmation that an incoming transfer had landed in the temporary directory before being asked whether it arrived.This pipes and monitors the receiver's stdout and stderr so
test-cardcan:Sender-controlled paths and messages remain escaped before display.
Tests cover path and file-size formatting, control-character escaping, stderr filtering, and capture of output from a live child process.
Test: