chrome-finder
chrome-finder copied to clipboard
希望处理Linux下which的输出
使用chrome-finder时会有如下输出

虽然正确地找出了结果,但是出现的报错不是想要的。希望能把execFileSync的stderr输出去掉
一个解决方案是2>/dev/null,可以作为参考
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 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.