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

Improve ktn_os according to the latest changes to os:cmd #149

Merged

Conversation

elbrujohalcon
Copy link
Member

As @getong points out in inaka/apns4erl#157, there is a race condition that was fixed in os:cmd here.

We still need ktn_os:cmd because we want to find out the exit status code of the command we're running. Therefore, we need to improve ktn_os:cmd to deal with the race condition in the same way @garazdawi did for OTP's os:cmd/1.

Copy link
Member

@igaray igaray left a comment

Choose a reason for hiding this comment

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

I haven't looked at the original fixes but this looks in order.

@elbrujohalcon elbrujohalcon merged commit 102245a into master May 6, 2018
@elbrujohalcon elbrujohalcon deleted the elbrujohalcon.149.improve_ktn_os_according_to_th branch May 6, 2018 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants