Make the inspector work on debian (closes #4935) [Lars pind]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 04ef7f4b
......@@ -18,7 +18,7 @@ def initialize(pid_path, pattern)
end
def inspect
header = `#{OPTIONS[:ps] % 0}`.split("\n")[0] + "\n"
header = `#{OPTIONS[:ps] % 1}`.split("\n")[0] + "\n"
lines = pids.collect { |pid| `#{OPTIONS[:ps] % pid}`.split("\n")[1] }
puts(header + lines.join("\n"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册