xdg-open

go tool pprof --seconds 25 http://localhost:4040/debug/pprof/profile

$web

exec: "xdg-open": executable file not found in $PATH

$which xdg-open

 

/usr/bin/which: no xdg-open in (/home/zhaoc/maven/bin:/usr/local/bin:/usr/bin:/usr/local/go1.10.1/bin:/usr/local/sbin:/usr/sbin:/home/yangm/.local/bin:/home/yangm/bin)

 

没有安装xdg-open

 

安装xdg-utils之后xdg-open命令就可以使用了.

yum install xdg-utils

你可能感兴趣的:(go,golang)