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

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

Merge pull request !3829 from 刘强/master
...@@ -596,5 +596,5 @@ Sends a signal to the specified process to terminate it. ...@@ -596,5 +596,5 @@ Sends a signal to the specified process to terminate it.
**Example** **Example**
```js ```js
var pres = process.pid 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 ...@@ -597,5 +597,5 @@ kill(signal: number, pid: number): boolean
```js ```js
var pres = process.pid 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.
先完成此消息的编辑!
想要评论请 注册