Interface Process

Hierarchy

Index

Properties

Methods

Properties

public arch: string

public argv: Array<string>

public config: { target_defaults: { cflags: any[]; default_configuration: string; defines: string[]; include_dirs: string[]; libraries: string[]; }; variables: { clang: number; host_arch: string; node_install_npm: boolean; node_install_waf: boolean; node_prefix: string; node_shared_openssl: boolean; node_shared_v8: boolean; node_shared_zlib: boolean; node_use_dtrace: boolean; node_use_etw: boolean; node_use_openssl: boolean; target_arch: string; v8_no_strict_aliasing: number; v8_use_snapshot: boolean; visibility: string; }; }

public config.target_defaults: { cflags: any[]; default_configuration: string; defines: string[]; include_dirs: string[]; libraries: string[]; }

public config.variables: { clang: number; host_arch: string; node_install_npm: boolean; node_install_waf: boolean; node_prefix: string; node_shared_openssl: boolean; node_shared_v8: boolean; node_shared_zlib: boolean; node_use_dtrace: boolean; node_use_etw: boolean; node_use_openssl: boolean; target_arch: string; v8_no_strict_aliasing: number; v8_use_snapshot: boolean; visibility: string; }

public target_defaults.cflags: Array<any>

public target_defaults.default_configuration: string

public target_defaults.defines: Array<string>

public target_defaults.include_dirs: Array<string>

public target_defaults.libraries: Array<string>

public variables.clang: number

public variables.host_arch: string

public variables.node_install_npm: boolean

public variables.node_install_waf: boolean

public variables.node_prefix: string

public variables.node_shared_openssl: boolean

public variables.node_shared_v8: boolean

public variables.node_shared_zlib: boolean

public variables.node_use_dtrace: boolean

public variables.node_use_etw: boolean

public variables.node_use_openssl: boolean

public variables.target_arch: string

public variables.v8_no_strict_aliasing: number

public variables.v8_use_snapshot: boolean

public variables.visibility: string

public env: any

public execPath: string

public pid: number

public platform: string

public stderr: WritableStream

public stdin: ReadableStream

public stdout: WritableStream

public title: string

public version: string

public versions: { http_parser: string; node: string; v8: string; ares: string; uv: string; zlib: string; openssl: string; }

public versions.ares: string

public versions.http_parser: string

public versions.node: string

public versions.openssl: string

public versions.uv: string

public versions.v8: string

public versions.zlib: string

Methods

public abort()

public addListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public chdir(directory: string)

Parameters

  • directory: string

public cwd(): string

Returns

string

public emit(event: string, args?: Array<any>): boolean

Parameters

  • event: string
  • args?: Array<any> optional

Returns

boolean

public exit(code?: number)

Parameters

  • code?: number optional

public getgid(): number

Returns

number

public getuid(): number

Returns

number

public hrtime(time?: Array<number>): Array<number>

Parameters

  • time?: Array<number> optional

Returns

Array<number>

public kill(pid: number, signal?: string)

Parameters

  • pid: number
  • signal?: string optional

public listeners(event: string): Array<Function>

Parameters

  • event: string

Returns

Array<Function>

public memoryUsage(): { rss: number; heapTotal: number; heapUsed: number; }

Returns

{ rss: number; heapTotal: number; heapUsed: number; }

public nextTick(callback: Function)

Parameters

  • callback: Function

public on(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public once(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public removeAllListeners(event?: string): EventEmitter

Parameters

  • event?: string optional

Returns

EventEmitter

public removeListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

optional public send(message: any, sendHandle?: any)

Parameters

  • message: any
  • sendHandle?: any optional

public setMaxListeners(n: number)

Parameters

  • n: number

public setgid(id: number)

Parameters

  • id: number

public setgid(id: string)

Parameters

  • id: string

public setuid(id: number)

Parameters

  • id: number

public setuid(id: string)

Parameters

  • id: string

public umask(mask?: number): number

Parameters

  • mask?: number optional

Returns

number

public uptime(): number

Returns

number