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

Create a class or module for interacting with ps #487

Open
jmoody opened this issue Jul 20, 2016 · 0 comments
Open

Create a class or module for interacting with ps #487

jmoody opened this issue Jul 20, 2016 · 0 comments

Comments

@jmoody
Copy link
Contributor

jmoody commented Jul 20, 2016

In many places, we call ps in backticks and then send strip (or some other reader) to the resulting string. This is dangerous for us because the string might contain UTF-8 characters which will result in a crash.

The CoreSimulator class has an example of processing ps output using RunLoop::Shell.

Related to Pass all read calls through utf-8 filter #230

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

No branches or pull requests

1 participant