write

open fun write(file: File)

Write the PID to the specified file.

Parameters

file

the PID file

Throws

if no PID is available.

if the file cannot be written