Packages

trait ExecOptions extends Object

Spawns a shell then executes the command within that shell, buffering any generated output.

Note: Never pass unsanitized user input to this function. Any input containing shell meta-characters may be used to trigger arbitrary command execution.

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

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() @HotSpotIntrinsicCandidate()
  6. val cwd: UndefOr[String]

    Current working directory of the child process

    Current working directory of the child process

    Annotations
    @JSOptional()
  7. val encoding: UndefOr[String]

    (Default: 'utf8')

    (Default: 'utf8')

    Annotations
    @JSOptional()
  8. val env: UndefOr[Object]

    Environment key-value pairs

    Environment key-value pairs

    Annotations
    @JSOptional()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. val gid: UndefOr[GID]

    Sets the group identity of the process.

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

    Annotations
    @JSOptional()
  13. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. val killSignal: UndefOr[KillSignal]

    (Default: 'SIGTERM')

    (Default: 'SIGTERM')

    Annotations
    @JSOptional()
  18. val maxBuffer: UndefOr[Int]

    largest amount of data (in bytes) allowed on stdout or stderr - if exceeded child process is killed (Default: 200*1024)

    largest amount of data (in bytes) allowed on stdout or stderr - if exceeded child process is killed (Default: 200*1024)

    Annotations
    @JSOptional()
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  23. val shell: UndefOr[|[Boolean, String]]

    Shell to execute the command with (Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should understand the -c switch on UNIX or /d /s /c on Windows.

    Shell to execute the command with (Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows, The shell should understand the -c switch on UNIX or /d /s /c on Windows. On Windows, command line parsing should be compatible with cmd.exe.)

    Annotations
    @JSOptional()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. val timeout: UndefOr[Int]

    (Default: 0)

    (Default: 0)

    Annotations
    @JSOptional()
  26. def toLocaleString(): String
    Definition Classes
    Object
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. val uid: UndefOr[UID]

    Sets the user identity of the process.

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

    Annotations
    @JSOptional()
  29. def valueOf(): Any
    Definition Classes
    Object
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. val windowsHide: UndefOr[Boolean]

    Hide the subprocess console window that would normally be created on Windows systems.

    Hide the subprocess console window that would normally be created on Windows systems. Default: false.

    Annotations
    @JSOptional()
  34. val windowsVerbatimArguments: UndefOr[Boolean]

    No quoting or escaping of arguments is done on Windows.

    No quoting or escaping of arguments is done on Windows. Ignored on Unix. This is set to true automatically when shell is specified and is CMD. Default: false.

    Annotations
    @JSOptional()

Deprecated Value Members

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped