Land #11974, full path in pgrep -lf output

This commit is contained in:
William Vu
2019-06-13 10:48:47 -05:00
@@ -571,7 +571,9 @@ class Console::CommandDispatcher::Stdapi::Sys
processes.each do |p|
if l_flag
if f_flag
print_line("#{p['pid']} #{p['path']}")
full_path = [p['path'], p['name']].join(client.fs.file.separator)
print_line("#{p['pid']} #{full_path}")
else
print_line("#{p['pid']} #{p['name']}")
end