Class

io.scalajs.nodejs.child_process

SpawnOptions

Related Doc: package child_process

Permalink

class SpawnOptions extends Object

Spawn Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
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. All

Instance Constructors

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

    Permalink

    cwd

    <String> Current working directory of the child process

    env

    <Object> Environment key-value pairs

    argv0

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

    stdio

    <Array> | <String> Child's stdio configuration. (See options.stdio)

    detached

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

    uid

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

    gid

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

    shell

    <Boolean> | <String> 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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val argv0: UndefOr[String]

    Permalink

    <String> Explicitly set the value of argv[0] sent to the child process.

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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val cwd: UndefOr[String]

    Permalink

    <String> Current working directory of the child process

  8. val detached: UndefOr[Boolean]

    Permalink

    <Boolean> Prepare child to run independently of its parent process.

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

  9. val env: Any

    Permalink

    <Object> Environment key-value pairs

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val gid: UndefOr[JsNumber]

    Permalink

    <Number> Sets the group identity of the process.

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

  15. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  23. val shell: UndefOr[|[Boolean, String]]

    Permalink

    <Boolean> | <String> If true, runs command inside of a shell.

    <Boolean> | <String> 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).

  24. val stdio: UndefOr[|[Array[String], String]]

    Permalink

    <Array> | <String> Child's stdio configuration.

    <Array> | <String> Child's stdio configuration. (See options.stdio)

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. val uid: UndefOr[JsNumber]

    Permalink

    <Number> Sets the user identity of the process.

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

  29. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped