Return `yield` result from `pty::spawn()`
Open
enhancement
- Dominant language
- Ruby
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
There is no way atm to get anything from the `pty::spawn()` block. Though sometimes it'd be nice to pass something to the calling scope. Easiest way is to return `Any` type. Maybe a bit better way is to return `Bolt::Result` type.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the pty::spawn() implementation and how it handles the block result. Compare the proposed Any and Bolt::Result return shapes with the existing project conventions, then define the expected calling-scope behavior and verify it with the relevant tests or a focused reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100