docs: capitalize POSIX and Windows correctly (#44557)
* docs: capitalize POSIX correctly Co-authored-by: Charles Kerr <charles@charleskerr.com> * docs: capitalize Windows correctly Co-authored-by: Charles Kerr <charles@charleskerr.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
aa02f3db47
commit
555c368052
4 changed files with 4 additions and 4 deletions
|
@ -416,7 +416,7 @@ Returns:
|
||||||
* `launch-failed` - Process never successfully launched
|
* `launch-failed` - Process never successfully launched
|
||||||
* `integrity-failure` - Windows code integrity checks failed
|
* `integrity-failure` - Windows code integrity checks failed
|
||||||
* `exitCode` number - The exit code for the process
|
* `exitCode` number - The exit code for the process
|
||||||
(e.g. status from waitpid if on posix, from GetExitCodeProcess on Windows).
|
(e.g. status from waitpid if on POSIX, from GetExitCodeProcess on Windows).
|
||||||
* `serviceName` string (optional) - The non-localized name of the process.
|
* `serviceName` string (optional) - The non-localized name of the process.
|
||||||
* `name` string (optional) - The name of the process.
|
* `name` string (optional) - The name of the process.
|
||||||
Examples for utility: `Audio Service`, `Content Decryption Module Service`, `Network Service`, `Video Capture`, etc.
|
Examples for utility: `Audio Service`, `Content Decryption Module Service`, `Network Service`, `Video Capture`, etc.
|
||||||
|
|
|
@ -38,7 +38,7 @@ Without `*` prefix the URL has to match exactly.
|
||||||
|
|
||||||
### --disable-ntlm-v2
|
### --disable-ntlm-v2
|
||||||
|
|
||||||
Disables NTLM v2 for posix platforms, no effect elsewhere.
|
Disables NTLM v2 for POSIX platforms, no effect elsewhere.
|
||||||
|
|
||||||
### --disable-http-cache
|
### --disable-http-cache
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ Open the given file in the desktop's default manner.
|
||||||
|
|
||||||
### `shell.openExternal(url[, options])`
|
### `shell.openExternal(url[, options])`
|
||||||
|
|
||||||
* `url` string - Max 2081 characters on windows.
|
* `url` string - Max 2081 characters on Windows.
|
||||||
* `options` Object (optional)
|
* `options` Object (optional)
|
||||||
* `activate` boolean (optional) _macOS_ - `true` to bring the opened application to the foreground. The default is `true`.
|
* `activate` boolean (optional) _macOS_ - `true` to bring the opened application to the foreground. The default is `true`.
|
||||||
* `workingDirectory` string (optional) _Windows_ - The working directory.
|
* `workingDirectory` string (optional) _Windows_ - The working directory.
|
||||||
|
|
|
@ -133,7 +133,7 @@ Emitted once the child process has spawned successfully.
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
* `code` number - Contains the exit code for
|
* `code` number - Contains the exit code for
|
||||||
the process obtained from waitpid on posix, or GetExitCodeProcess on windows.
|
the process obtained from waitpid on POSIX, or GetExitCodeProcess on Windows.
|
||||||
|
|
||||||
Emitted after the child process ends.
|
Emitted after the child process ends.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue