ForkOptions

@native @JSType trait ForkOptions extends StObject with ProcessEnvOptions with MessagingOptions
Companion
object
trait Abortable
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var detached: UndefOr[Boolean]
var execArgv: UndefOr[Array[String]]
var execPath: UndefOr[String]
var silent: UndefOr[Boolean]
var stdio: UndefOr[StdioOptions]
var windowsVerbatimArguments: UndefOr[Boolean]

Inherited fields

var cwd: UndefOr[String]
Inherited from
ProcessEnvOptions
var env: UndefOr[ProcessEnv]
Inherited from
ProcessEnvOptions
var gid: UndefOr[Double]
Inherited from
ProcessEnvOptions
var killSignal: UndefOr[Signals | Double]

The signal value to be used when the spawned process will be killed by the abort signal.

The signal value to be used when the spawned process will be killed by the abort signal.

Inherited from
MessagingOptions

Specify the kind of serialization used for sending messages between processes.

Specify the kind of serialization used for sending messages between processes.

Inherited from
MessagingOptions
var signal: UndefOr[AbortSignal]

When provided the corresponding AbortController can be used to cancel an asynchronous action.

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Inherited from
Abortable
var timeout: UndefOr[Double]

In milliseconds the maximum amount of time the process is allowed to run.

In milliseconds the maximum amount of time the process is allowed to run.

Inherited from
MessagingOptions
var uid: UndefOr[Double]
Inherited from
ProcessEnvOptions