Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1720,6 +1720,13 @@ This function will never return, unless an error occurred.

This function is not available on Windows or IBM i.

For example, the following restarts the current process in the same way it started,
modulo changes to `process.chdir(...)`, `process.env`, `process.argv`.

```js
process.execve(process.argv0, process.argv);
```

## `process.exit([code])`

<!-- YAML
Expand Down