Packages

class ForkOptions extends Object

Fork Options

Annotations
@ScalaJSDefined() @RawJSType()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForkOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val cwd: UndefOr[String]
  7. val detached: UndefOr[Boolean]
  8. val env: UndefOr[Object]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val execArgv: UndefOr[Array[String]]
  12. val execPath: UndefOr[String]
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val gid: UndefOr[GID]
  16. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. val silent: UndefOr[Boolean]
  25. val stdio: UndefOr[|[String, Array[String]]]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. val uid: UndefOr[UID]
  30. def valueOf(): Any
    Definition Classes
    Object
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped