Skip to content

add pipes to process output#3

Draft
timbertson wants to merge 2 commits intokoka-community:mainfrom
timbertson:process
Draft

add pipes to process output#3
timbertson wants to merge 2 commits intokoka-community:mainfrom
timbertson:process

Conversation

@timbertson
Copy link
Contributor

Everything compiles, but there's two issues before this can work:

  • the uv/stream/read-start interface seems too limited - it doesn't handle the error or EOF case, which means I can't consume a pipe until it ends
  • currently it gets stuck at close-owned - the async callback passed to uv_close never seems to be triggered, not sure if that's specific to pipes or not 😕

finalize-process(process, kill-strategy)

// close the half of any pipes that are only used by the child
close-owned(uv-stdout)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the function that never returns (when there's a stream to close)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant