未验证 提交 ae29b61d 编写于 作者: O openharmony_ci 提交者: Gitee

!3837 Modify the kill use case of the process module in the docs document of realse

Merge pull request !3837 from 刘强/OpenHarmony-3.1-Release
......@@ -596,5 +596,5 @@ Sends a signal to the specified process to terminate it.
**Example**
```js
var pres = process.pid
var result = that.kill(pres, 28)
var result = that.kill(28, pres)
```
......@@ -597,5 +597,5 @@ kill(signal: number, pid: number): boolean
```js
var pres = process.pid
var result = that.kill(pres, 28)
var result = that.kill(28, pres)
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册