class SpawnOptions extends Object
Spawn Options
- Annotations
- @ScalaJSDefined() @RawJSType()
- Alphabetic
- By Inheritance
- SpawnOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- var argv0: UndefOr[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var cwd: UndefOr[String]
- var detached: UndefOr[Boolean]
- var env: Any
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var gid: UndefOr[Int]
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- var shell: UndefOr[|[Boolean, String]]
- var stdio: UndefOr[StdIo]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- var uid: UndefOr[Int]
- def valueOf(): Any
- Definition Classes
- Object
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- var windowsHide: UndefOr[Boolean]
- var windowsVerbatimArguments: UndefOr[Boolean]