提交 ed789ba5 编写于 作者: L liu-qiang12

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

Signed-off-by: Nliu-qiang12 <liuqiang187@huawei.com>
https://gitee.com/openharmony/docs/issues/I56NIY
上级 9b1326f6
......@@ -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.
先完成此消息的编辑!
想要评论请 注册