Suppress error messages from which command
This commit is contained in:
2
plug.vim
2
plug.vim
@@ -725,7 +725,7 @@ function! s:update_parallel(pull, todo, threads)
|
|||||||
|
|
||||||
def killall pid
|
def killall pid
|
||||||
pids = [pid]
|
pids = [pid]
|
||||||
unless `which pgrep`.empty?
|
unless `which pgrep 2> /dev/null`.empty?
|
||||||
children = pids
|
children = pids
|
||||||
until children.empty?
|
until children.empty?
|
||||||
children = children.map { |pid|
|
children = children.map { |pid|
|
||||||
|
|||||||
Reference in New Issue
Block a user