Packages

class SpawnOptions extends Object

Spawn Options

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

Instance Constructors

  1. new SpawnOptions(cwd: UndefOr[String] = js.undefined, env: Any = js.undefined, argv0: UndefOr[String] = js.undefined, stdio: UndefOr[StdIo] = js.undefined, detached: UndefOr[Boolean] = js.undefined, uid: UndefOr[Int] = js.undefined, gid: UndefOr[Int] = js.undefined, shell: UndefOr[|[Boolean, String]] = js.undefined, windowsVerbatimArguments: UndefOr[Boolean] = js.undefined, windowsHide: UndefOr[Boolean] = js.undefined)

    cwd

    Current working directory of the child process

    env

    Environment key-value pairs

    argv0

    Explicitly set the value of argv[0] sent to the child process. This will be set to command if not specified.

    stdio

    Child's stdio configuration. (See options.stdio)

    detached

    Prepare child to run independently of its parent process. Specific behavior depends on the platform, see options.detached)

    uid

    Sets the user identity of the process. (See setuid(2).)

    gid

    Sets the group identity of the process. (See setgid(2).)

    shell

    If true, runs command inside of a shell. Uses '/bin/sh' on UNIX, and 'cmd.exe' on Windows. A different shell can be specified as a string. The shell should understand the -c switch on UNIX, or /d /s /c on Windows. Defaults to false (no shell).

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. var argv0: UndefOr[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. var cwd: UndefOr[String]
  8. var detached: UndefOr[Boolean]
  9. var env: Any
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. var gid: UndefOr[Int]
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  22. var shell: UndefOr[|[Boolean, String]]
  23. var stdio: UndefOr[StdIo]
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toLocaleString(): String
    Definition Classes
    Object
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. var uid: UndefOr[Int]
  28. def valueOf(): Any
    Definition Classes
    Object
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. var windowsHide: UndefOr[Boolean]
  33. var windowsVerbatimArguments: UndefOr[Boolean]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped