class ForkOptions extends Object
Fork Options
- Annotations
- @ScalaJSDefined() @RawJSType()
- Alphabetic
- By Inheritance
- ForkOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ForkOptions(cwd: UndefOr[String] = js.undefined, detached: UndefOr[Boolean] = js.undefined, env: UndefOr[Object] = js.undefined, execPath: UndefOr[String] = js.undefined, execArgv: UndefOr[Array[String]] = js.undefined, silent: UndefOr[Boolean] = js.undefined, stdio: UndefOr[|[String, Array[String]]] = js.undefined, uid: UndefOr[UID] = js.undefined, gid: UndefOr[GID] = js.undefined)
- cwd
Current working directory of the child process
- detached
Prepare child to run independently of its parent process Specific behavior depends on the platform (see options.detached).
- env
Environment key-value pairs
- execPath
Executable used to create the child process
- execArgv
List of string arguments passed to the executable (Default: process.execArgv)
- silent
If true, stdin, stdout, and stderr of the child will be piped to the parent, otherwise they will be inherited from the parent, see the 'pipe' and 'inherit' options for child_process.spawn()'s stdio for more details (Default: false)
- stdio
Supports the array version of child_process.spawn()'s stdio option. When this option is provided, it overrides silent. The array must contain exactly one item with value 'ipc' or an error will be thrown. For instance [0, 1, 2, 'ipc'].
- uid
Sets the user identity of the process. (See setuid(2).)
- gid
Sets the group identity of the process. (See setgid(2).)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cwd: UndefOr[String]
- val detached: UndefOr[Boolean]
- val env: UndefOr[Object]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val execArgv: UndefOr[Array[String]]
- val execPath: UndefOr[String]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val gid: UndefOr[GID]
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val silent: UndefOr[Boolean]
- val stdio: UndefOr[|[String, Array[String]]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- val uid: UndefOr[UID]
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()