Golang exec package - history command does not give any output in exec.Command(“history”)

后端 未结 0 875
野的像风
野的像风 2021-01-21 01:17

I am trying to run history command using os/exec package in golang but it does not seem to be giving any output. The code I used is



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题