我安装了golang最新版本(go version go1.17.1 windows/amd64)
我用go install github.com/tsenart/vegeta@latest命令成功安装了织女星
但是如果我命令,就像我在vegeta --help中看到的,cmd中的echo "GET http://localhost:8080/" | vegeta attack -duration=5s | tee results.bin | vegeta report
然后我面对'tee' is not recognized as an internal or external command, executable program or batch file.
我不知道为什么会这样
我是不是命令错了?我认为echo "GET ~~ vegeta report命令适用于类Unix,可能不适用于windows。
发布于 2021-10-06 05:58:28
tee (从广义上讲)是一个Linux命令。幸运的是,powershell有一个版本,试着用它来代替cmd。
Related question
https://stackoverflow.com/questions/69460337
复制相似问题