Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Redirect stdout/stderr from tasks into quake for multiplexing #22

Open
cassaundra opened this issue Jan 1, 2024 · 2 comments
Open

Redirect stdout/stderr from tasks into quake for multiplexing #22

cassaundra opened this issue Jan 1, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request nushell-engine Items relevant to the nushell engine
Milestone

Comments

@cassaundra
Copy link
Collaborator

At the moment, all tasks output directly to stdout/stderr. Use nushell's streaming capabilities to process task output streams and direct them to a stylized output and/or log.

@cassaundra cassaundra added the enhancement New feature or request label Jan 1, 2024
@cassaundra
Copy link
Collaborator Author

note: having experimented with this in the past, nushell's eval_block (which we currently use) is blocking, making it insuitable for streaming command output when redirecting stdout/stderr. we'd need to re-implement it to (possibly by exposing some externals in the soft fork) to get live RawStreams

@cassaundra
Copy link
Collaborator Author

cassaundra commented Jan 9, 2024

Somewhat related nushell issue and notes from core team meeting:

The solution to this particular issue is unlikely to involve actually implementing user-facing streaming, but refactoring the various eval functions might pave the way for it. There's probably an even simpler hack here too but I'd like nushell to have better pipeline support anyway...

@cassaundra cassaundra added the nushell-engine Items relevant to the nushell engine label Jan 17, 2024
@cassaundra cassaundra modified the milestones: quake 0.1.0, quake 0.2.0 Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nushell-engine Items relevant to the nushell engine
Projects
Status: Backlog
Development

No branches or pull requests

1 participant