Golang Stdin multiple string through pipe

后端 未结 0 1882
鱼传尺愫
鱼传尺愫 2020-12-11 12:35

I am new to golang. I am trying to execute following shell command with golang.

{ echo $password; echo $password; } | kadmin.local -q \'cpw user\'


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