Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[FL-3927] FuriThread stdin #3979

Merged
merged 8 commits into from
Dec 18, 2024
Merged

[FL-3927] FuriThread stdin #3979

merged 8 commits into from
Dec 18, 2024

Conversation

portasynthinca3
Copy link
Member

@portasynthinca3 portasynthinca3 commented Oct 31, 2024

What's new

  • Support for stdin in threads
  • Support for additional context for stdout and stdin callbacks
  • Unit tests for stdin and already existing stdout functionality
  • Small fix in furi_string docs

Verification

  • Run unit tests

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link

github-actions bot commented Oct 31, 2024

Compiled f7 firmware for commit 53fc736a:

@CookiePLMonster
Copy link
Contributor

What is the intended use of this? Can ufbt cli capture inputs into that stdin?

@portasynthinca3
Copy link
Member Author

What is the intended use of this? Can ufbt cli capture inputs into that stdin?

@CookiePLMonster The intended use case is to run commands in separate threads. For that, threads have to have a stdout (already in place) and a stdin (implemented in this PR).

@portasynthinca3 portasynthinca3 mentioned this pull request Nov 12, 2024
3 tasks
@skotopes skotopes merged commit 8d078e4 into dev Dec 18, 2024
11 checks passed
@skotopes skotopes deleted the portasynthinca3/3927-thread-stdin branch December 18, 2024 20:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants