method Process.prototype.close Process.prototype.close(): Promise<void> Do all necessary normal steps to close the process. This does not kill the process but attempts a normal close. Return Type Promise<void>