mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: unify [!NOTE] structure (#47048)
* docs: unify [!NOTE] structure Co-authored-by: Erick Zhao <ezhao@slack-corp.com> * Update docs/api/command-line.md Co-authored-by: Niklas Wenzel <dev@nikwen.de> Co-authored-by: Erick Zhao <erick@hotmail.ca> * Update docs/api/browser-window.md Co-authored-by: Niklas Wenzel <dev@nikwen.de> Co-authored-by: Erick Zhao <erick@hotmail.ca> * Update docs/api/download-item.md Co-authored-by: Niklas Wenzel <dev@nikwen.de> Co-authored-by: Erick Zhao <erick@hotmail.ca> * Update docs/api/global-shortcut.md Co-authored-by: Niklas Wenzel <dev@nikwen.de> Co-authored-by: Erick Zhao <erick@hotmail.ca> * revert line break Co-authored-by: Erick Zhao <ezhao@slack-corp.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Erick Zhao <ezhao@slack-corp.com> Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
@@ -44,7 +44,8 @@ Process: [Main](../glossary.md#main-process)<br />
|
||||
|
||||
Returns [`UtilityProcess`](utility-process.md#class-utilityprocess)
|
||||
|
||||
**Note:** `utilityProcess.fork` can only be called after the `ready` event has been emitted on `App`.
|
||||
> [!NOTE]
|
||||
> `utilityProcess.fork` can only be called after the `ready` event has been emitted on `App`.
|
||||
|
||||
## Class: UtilityProcess
|
||||
|
||||
@@ -108,7 +109,8 @@ child.on('exit', () => {
|
||||
})
|
||||
```
|
||||
|
||||
**Note:** You can use the `pid` to determine if the process is currently running.
|
||||
> [!NOTE]
|
||||
> You can use the `pid` to determine if the process is currently running.
|
||||
|
||||
#### `child.stdout`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user