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

process.stdin stream for passing into new process.spawn equivalent (process.create?) #221

Open
Corecii opened this issue Jun 26, 2024 · 1 comment
Labels
enhancement New feature or request pending / needs design Awaiting design and/or implementation discussion and decisions

Comments

@Corecii
Copy link

Corecii commented Jun 26, 2024

Created from a Discord conversation

[1:49 PM] (Erica) DevComp: ill implement a process.stdin which hands you the stdin you were given
[1:49 PM] (Erica) DevComp: and you can put that in SpawnOptions
[1:50 PM] Shae (Corecii): that would work great, thank you for your work on this!
[6:31 AM] (Erica) DevComp: can you create an issue on lune for this
[6:31 AM] (Erica) DevComp: i want to get this done in this week and I might forget

This would allow for a simple way to pass the Lune process's stdin into a process created with the process API, allowing user input.

@filiptibell filiptibell added enhancement New feature or request pending / needs design Awaiting design and/or implementation discussion and decisions labels Jun 26, 2024
@CompeyDev
Copy link
Contributor

As #211 introduces reader and writer streams into lune, this can be leveraged to have a process.stdin reader stream quite trivially, following it being merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending / needs design Awaiting design and/or implementation discussion and decisions
Projects
None yet
Development

No branches or pull requests

3 participants