Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rush::Connection::Local#read_proc_file fails for process names with blank spaces #10

Closed
fabiokung opened this Issue Mar 14, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Collaborator

fabiokung commented Mar 14, 2012

One example is coffee-resque, which sets the process name to something like resque-0.1.4: S.

The Rush code reading /proc//stat uses split(" "), which isn't enough when there are spaces in the process name. That causes an exception to be raised here, as the regexp doesn't match.

@fabiokung fabiokung closed this in 0eed0d2 Mar 14, 2012

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