The path to the PID file.
The PID to write to the file.
Optional
options: Optional
flag?: OpenMode | undefinedOptional
flush?: booleanIf all data is successfully written to the file, and flush
is true
, filehandle.sync()
is used to flush the data.
Optional
mode?: Mode | undefined
Write a PID to a file.