c := exec.Command("taskkill.exe", "/f", "/im", "test.exe")
err := c.Start()
posts - 163, comments - 156, trackbacks - 0, articles - 2 |
||||||||||||||||||||||||||||||||||
c := exec.Command("taskkill.exe", "/f", "/im", "test.exe") err := c.Start() Feedback# re: golang之 windows下殺進程 回復 更多評論2013-12-08 00:25 by 單/fw范兒sy7℃大神,小弟想問一下c := exec.Command("taskkill.exe", "/f", "/im", "test.exe")中c := 這個符號是什么意思啊?
c := 在go里表示將右側(cè)內(nèi)容賦值給變量c,在新寫出一個變量需要賦值的時候可以這樣寫
|
||||||||||||||||||||||||||||||||||