Suppress error messages from which command

This commit is contained in:
Junegunn Choi 2014-09-19 00:40:27 +09:00
parent a64b156682
commit 115a25de79

View File

@ -725,7 +725,7 @@ function! s:update_parallel(pull, todo, threads)
def killall pid
pids = [pid]
unless `which pgrep`.empty?
unless `which pgrep 2> /dev/null`.empty?
children = pids
until children.empty?
children = children.map { |pid|