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

Using UV_IGNORE in uv_spawn #73

Closed
ghost opened this issue Jul 13, 2019 · 2 comments
Closed

Using UV_IGNORE in uv_spawn #73

ghost opened this issue Jul 13, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2019

The libuv documentation has an example that specifies flags of the stdio field to ignore to UV_IGNORE to skip over it, however this extension starts in uv_spawn with 0 and simply increments the key (ignoring the given array indexes).

Would the only way to not use a stdio field be by explicitely mapping to /dev/null (which is what libuv does behind the scene)?

@ghost
Copy link
Author

ghost commented Dec 8, 2019

@bwoebi status?

@bwoebi bwoebi closed this as completed in 515476f Feb 15, 2020
@bwoebi
Copy link
Member

bwoebi commented Feb 15, 2020

I think we should be explicit, but now you can actually use $ignored_stdio_pipe = uv_stdio_new(); in the array.

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

No branches or pull requests

1 participant