mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 05:37:55 +08:00
13 lines
191 B
Go
13 lines
191 B
Go
// 向指定进程发送进程消息。
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g/os/gproc"
|
|
)
|
|
|
|
func main () {
|
|
err := gproc.Send(22988, []byte{30})
|
|
fmt.Println(err)
|
|
}
|