chrome-finder icon indicating copy to clipboard operation
chrome-finder copied to clipboard

希望处理Linux下which的输出

Open Anillc opened this issue 4 years ago • 3 comments

使用chrome-finder时会有如下输出
IMG20210316024144
虽然正确地找出了结果,但是出现的报错不是想要的。希望能把execFileSync的stderr输出去掉

Anillc avatar Mar 15 '21 18:03 Anillc

一个解决方案是2>/dev/null,可以作为参考

Anillc avatar Mar 15 '21 18:03 Anillc

Hello @Anillc, I have submitted the following PR to resolve this issue:

https://github.com/gwuhaolin/chrome-finder/pull/27

Also, I have published my own fork as NPM package @vlasky/chrome-finder that incorporates this fix.

vlasky avatar Feb 04 '23 08:02 vlasky

@vlasky Thank you for your work. I am sorry that I have missed that for so long! It is good, that you have brought this to my attention with your comment. Otherwise I would not have noticed. I have merged your PR and will see, how this can be published.

nros avatar Feb 05 '23 11:02 nros