@ac-essentials/misc-util
Preparing search index...
readPidFile
Function readPidFile
readPidFile
(
path
:
PathLike
,
options
?:
|
null
|
BufferEncoding
|
ObjectEncodingOptions
&
Abortable
&
{
flag
?:
OpenMode | undefined
}
,
)
:
Promise
<
number
>
Read a PID from a file.
Parameters
path
:
PathLike
The path to the PID file.
Optional
options
:
|
null
|
BufferEncoding
|
ObjectEncodingOptions
&
Abortable
&
{
flag
?:
OpenMode | undefined
}
Returns
Promise
<
number
>
The PID read from the file.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@ac-essentials/misc-util
Loading...
Read a PID from a file.