From 0d748a0699760003444efca219eb4bb245996008 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 27 Sep 2018 15:27:08 +0900 Subject: Kill running preview process after 500ms when focus has changed Close #1383 Close #1384 --- src/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reader.go') diff --git a/src/reader.go b/src/reader.go index 5fd6d876..b418f549 100644 --- a/src/reader.go +++ b/src/reader.go @@ -103,7 +103,7 @@ func (r *Reader) readFromStdin() bool { } func (r *Reader) readFromCommand(shell string, cmd string) bool { - listCommand := util.ExecCommandWith(shell, cmd) + listCommand := util.ExecCommandWith(shell, cmd, false) out, err := listCommand.StdoutPipe() if err != nil { return false -- cgit v1.2.3