From: Jessica Lord Date: Sat, 29 Aug 2015 04:47:31 +0000 (-0700) Subject: Standardize process X-Git-Tag: v0.31.2~3^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a5969fd0764db21ee4f7589d0a09a1ccb7343744;p=electron.git Standardize process --- diff --git a/docs/api/process.md b/docs/api/process.md index c9efa22f..15a1cca1 100644 --- a/docs/api/process.md +++ b/docs/api/process.md @@ -1,13 +1,18 @@ -# Process object +# Process The `process` object in Electron has the following differences from the one in upstream node: -* `process.type` String - Process's type, can be `browser` (i.e. main process) or `renderer`. +* `process.type` String - Process's type, can be `browser` (i.e. main process) + or `renderer`. * `process.versions['electron']` String - Version of Electron. * `process.versions['chrome']` String - Version of Chromium. * `process.resourcesPath` String - Path to JavaScript source code. -## process.hang +# Methods + +The `process` object has the following method: + +### `process.hang` Causes the main thread of the current process hang.