Process

external interface Process : EventEmitter

Properties

Link copied to clipboard
Link copied to clipboard
abstract var arch: String
Link copied to clipboard
abstract var argv: Array<String>
Link copied to clipboard
abstract var argv0: String
Link copied to clipboard
abstract var chrome: String
Link copied to clipboard
abstract var config: T$6
Link copied to clipboard
abstract var connected: Boolean
Link copied to clipboard
abstract var debugPort: Number
Link copied to clipboard
abstract var defaultApp: Boolean
Link copied to clipboard
abstract var domain: Domain
Link copied to clipboard
abstract var electron: String
Link copied to clipboard
Link copied to clipboard
abstract var env: ProcessEnv
Link copied to clipboard
abstract var execArgv: Array<String>
Link copied to clipboard
abstract var execPath: String
Link copied to clipboard
open var exitCode: Number?
Link copied to clipboard
abstract var features: T$7
Link copied to clipboard
abstract var hrtime: HRTime
Link copied to clipboard
abstract var isMainFrame: Boolean
Link copied to clipboard
open var mainModule: <Error class: unknown class>?
Link copied to clipboard
abstract var mas: Boolean
Link copied to clipboard
abstract var noAsar: Boolean
Link copied to clipboard
abstract var noDeprecation: Boolean
Link copied to clipboard
abstract var pid: Number
Link copied to clipboard
abstract var platform: String
Link copied to clipboard
abstract var ppid: Number
Link copied to clipboard
abstract var release: ProcessRelease
Link copied to clipboard
Link copied to clipboard
abstract var resourcesPath: String
Link copied to clipboard
abstract var sandboxed: Boolean
Link copied to clipboard
open val send: (message: Any, sendHandle: Any, options: T$8, callback: (<Error class: unknown class>?) -> Unit) -> Boolean?
Link copied to clipboard
abstract var stderr: <Error class: unknown class>
Link copied to clipboard
abstract var stdin: <Error class: unknown class>
Link copied to clipboard
abstract var stdout: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
abstract var title: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var type: String
Link copied to clipboard
abstract var version: String
Link copied to clipboard
Link copied to clipboard
abstract var windowsStore: Boolean

Functions

Link copied to clipboard
abstract fun abort()
Link copied to clipboard
open fun addListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
abstract fun addListener(event: String, listener: DisconnectListener): Process
abstract override fun addListener(event: String, listener: UncaughtExceptionListener): Process
abstract override fun addListener(event: String, listener: RejectionHandledListener): Process
abstract fun addListener(event: String, listener: BeforeExitListener): Process
abstract fun addListener(event: String, listener: SignalsListener): Process
abstract fun addListener(event: String, listener: MessageListener): Process
abstract fun addListener(event: String, listener: NewListenerListener): Process
abstract fun addListener(event: String, listener: UnhandledRejectionListener): Process
abstract fun addListener(event: String, listener: MultipleResolveListener): Process
abstract fun addListener(event: String, listener: Function<*>): Process
Link copied to clipboard
abstract fun chdir(directory: String)
Link copied to clipboard
abstract fun cpuUsage(previousValue: CpuUsage = definedExternally): CpuUsage
Link copied to clipboard
abstract fun crash()
Link copied to clipboard
abstract fun cwd(): String
Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard
open fun emit(event: Any, vararg args: Any): Boolean
abstract fun emit(event: String): Boolean
abstract override fun emit(event: String, error: <Error class: unknown class>): Boolean
abstract override fun emit(event: String, promise: <Error class: unknown class><Any>): Boolean
abstract override fun emit(event: String, vararg args: Any): Boolean
abstract fun emit(event: String, listener: MultipleResolveListener): Process
abstract fun emit(event: String, code: Number): Boolean
abstract fun emit(event: String, signal: String): Boolean
abstract fun emit(event: String, reason: Any, promise: <Error class: unknown class><Any>): Boolean
abstract fun emit(event: String, message: Any, sendHandle: Any): Process
abstract fun emit(event: String, eventName: Any, listener: (args: Any) -> Unit): Process
abstract fun emit(event: String, eventName: String, listener: (args: Any) -> Unit): Process
Link copied to clipboard
abstract fun emitWarning(warning: <Error class: unknown class>, name: String = definedExternally, ctor: Function<*> = definedExternally)
abstract fun emitWarning(warning: String, name: String = definedExternally, ctor: Function<*> = definedExternally)
Link copied to clipboard
open fun eventNames(): Array<dynamic>
Link copied to clipboard
abstract fun exit(code: Number = definedExternally): Any
Link copied to clipboard
Link copied to clipboard
abstract fun getCPUUsage(): CPUUsage
Link copied to clipboard
abstract fun getCreationTime(): Number?
Link copied to clipboard
abstract fun getegid(): Number
Link copied to clipboard
abstract fun geteuid(): Number
Link copied to clipboard
abstract fun getgid(): Number
Link copied to clipboard
abstract fun getgroups(): Array<Number>
Link copied to clipboard
Link copied to clipboard
abstract fun getIOCounters(): IOCounters
Link copied to clipboard
Link copied to clipboard
abstract fun getProcessMemoryInfo(): <Error class: unknown class><ProcessMemoryInfo>
Link copied to clipboard
Link copied to clipboard
abstract fun getSystemVersion(): String
Link copied to clipboard
abstract fun getuid(): Number
Link copied to clipboard
abstract fun hang()
Link copied to clipboard
abstract fun kill(pid: Number, signal: Number = definedExternally): Boolean
abstract fun kill(pid: Number, signal: String = definedExternally): Boolean
Link copied to clipboard
open fun listenerCount(type: Any): Number
open fun listenerCount(type: String): Number
Link copied to clipboard
open fun listeners(event: Any): Array<Function<*>>
abstract override fun listeners(event: String): dynamic
Link copied to clipboard
abstract fun memoryUsage(): MemoryUsage
Link copied to clipboard
abstract fun nextTick(callback: Function<*>, vararg args: Any)
Link copied to clipboard
open fun off(event: Any, listener: (args: Any) -> Unit): EventEmitter
open fun off(event: String, listener: (args: Any) -> Unit): EventEmitter
Link copied to clipboard
open fun on(event: Any, listener: (args: Any) -> Unit): EventEmitter
abstract fun on(event: String, listener: DisconnectListener): Process
abstract override fun on(event: String, listener: UncaughtExceptionListener): Process
abstract override fun on(event: String, listener: RejectionHandledListener): Process
abstract fun on(event: String, listener: BeforeExitListener): Process
abstract fun on(event: String, listener: SignalsListener): Process
abstract fun on(event: String, listener: MessageListener): Process
abstract fun on(event: String, listener: NewListenerListener): Process
abstract fun on(event: String, listener: UnhandledRejectionListener): Process
abstract fun on(event: String, listener: MultipleResolveListener): Process
abstract fun on(event: String, listener: Function<*>): Process
Link copied to clipboard
open fun once(event: Any, listener: (args: Any) -> Unit): EventEmitter
abstract fun once(event: String, listener: DisconnectListener): Process
abstract override fun once(event: String, listener: UncaughtExceptionListener): Process
abstract override fun once(event: String, listener: RejectionHandledListener): Process
abstract fun once(event: String, listener: BeforeExitListener): Process
abstract fun once(event: String, listener: SignalsListener): Process
abstract fun once(event: String, listener: MessageListener): Process
abstract fun once(event: String, listener: NewListenerListener): Process
abstract fun once(event: String, listener: UnhandledRejectionListener): Process
abstract fun once(event: String, listener: MultipleResolveListener): Process
abstract fun once(event: String, listener: Function<*>): Process
Link copied to clipboard
abstract fun openStdin(): Socket
Link copied to clipboard
open fun prependListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
abstract fun prependListener(event: String, listener: DisconnectListener): Process
abstract override fun prependListener(event: String, listener: UncaughtExceptionListener): Process
abstract override fun prependListener(event: String, listener: RejectionHandledListener): Process
abstract fun prependListener(event: String, listener: BeforeExitListener): Process
abstract fun prependListener(event: String, listener: SignalsListener): Process
abstract fun prependListener(event: String, listener: MessageListener): Process
abstract fun prependListener(event: String, listener: NewListenerListener): Process
abstract fun prependListener(event: String, listener: UnhandledRejectionListener): Process
abstract fun prependListener(event: String, listener: MultipleResolveListener): Process
Link copied to clipboard
open fun prependOnceListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
abstract fun prependOnceListener(event: String, listener: DisconnectListener): Process
abstract override fun prependOnceListener(event: String, listener: UncaughtExceptionListener): Process
abstract override fun prependOnceListener(event: String, listener: RejectionHandledListener): Process
abstract fun prependOnceListener(event: String, listener: BeforeExitListener): Process
abstract fun prependOnceListener(event: String, listener: SignalsListener): Process
abstract fun prependOnceListener(event: String, listener: MessageListener): Process
abstract fun prependOnceListener(event: String, listener: NewListenerListener): Process
Link copied to clipboard
open fun rawListeners(event: Any): Array<Function<*>>
open fun rawListeners(event: String): Array<Function<*>>
Link copied to clipboard
open fun removeAllListeners(event: Any = definedExternally): EventEmitter
open fun removeAllListeners(event: String = definedExternally): EventEmitter
Link copied to clipboard
open fun removeListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
open fun removeListener(event: String, listener: (args: Any) -> Unit): EventEmitter
abstract fun removeListener(event: String, listener: Function<*>): Process
Link copied to clipboard
Link copied to clipboard
abstract fun setegid(id: Number)
abstract fun setegid(id: String)
Link copied to clipboard
abstract fun seteuid(id: Number)
abstract fun seteuid(id: String)
Link copied to clipboard
abstract fun setFdLimit(maxDescriptors: Number)
Link copied to clipboard
abstract fun setgid(id: Number)
abstract fun setgid(id: String)
Link copied to clipboard
abstract fun setgroups(groups: Array<dynamic>)
Link copied to clipboard
Link copied to clipboard
abstract fun setuid(id: Number)
abstract fun setuid(id: String)
Link copied to clipboard
abstract fun setUncaughtExceptionCaptureCallback(cb: (<Error class: unknown class>) -> Unit?)
Link copied to clipboard
abstract fun takeHeapSnapshot(filePath: String): Boolean
Link copied to clipboard
abstract fun umask(mask: Number = definedExternally): Number
Link copied to clipboard
abstract fun uptime(): Number