This commit is contained in:
Olivier Gagnon
2021-12-20 15:48:26 -05:00
parent ddd0eaaf5c
commit 41a7109baa
7 changed files with 33 additions and 14 deletions

View File

@@ -289,6 +289,8 @@ export interface ProcessInfo {
threads: number;
/** Script's arguments */
args: string[];
/** Process ID */
pid: number;
}
/**
@@ -4098,9 +4100,6 @@ export interface NS extends Singularity {
* This only stops a function from logging when the function is successful.
* If the function fails, it will still log the reason for failure.
*
* Notable functions that cannot have their logs disabled: run,
* exec, exit.
*
* @param fn - Name of function for which to disable logging.
*/
disableLog(fn: string): void;