package child_process
- Alphabetic
- By Inheritance
- child_process
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait ChildProcess extends Object with IEventEmitter
The child_process module provides the ability to spawn child processes in a manner that is similar, but not identical, to popen(3).
The child_process module provides the ability to spawn child processes in a manner that is similar, but not identical, to popen(3). This capability is primarily provided by the child_process.spawn() function.
- Annotations
- @JSType() @native()
- See also
https://nodejs.org/api/child_process.html
- implicit final class ChildProcessExtensions extends AnyVal
- implicit final class ChildProcessObjectExtensions extends AnyVal
- type ExecCallback = Function3[Error, Output, Output, Any]
- trait ExecFileSyncOptions extends Object
Spawns a shell then executes the command within that shell, buffering any generated output.
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()
- trait ExecOptions extends Object
Spawns a shell then executes the command within that shell, buffering any generated output.
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()
- trait ForkOptions extends Object
- Annotations
- @JSType()
- trait ForkedChildProcess extends Object with ChildProcess
- Annotations
- @JSType() @native()
- type Input = |[|[|[String, Buffer], TypedArray[_, _]], DataView]
- type KillSignal = |[Int, String]
- type Output = |[Buffer, String]
- trait SendOptions extends Object
- Annotations
- @JSType()
- trait SpawnOptions extends Object
- Annotations
- @JSType()
- trait SpawnSyncOptions extends Object
Spawns a shell then executes the command within that shell, buffering any generated output.
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()
- trait SpawnSyncResult extends Object
- Annotations
- @JSType()
- type StdIo = |[|[|[String, Array[String]], Array[FileDescriptor]], Array[|[String, FileDescriptor]]]
Value Members
- object ChildProcess extends Object
- Annotations
- @JSImport("child_process", JSImport.Namespace) @native()
- See also
https://nodejs.org/api/child_process.html
- object ExecFileSyncOptions
- object ExecOptions
- object SendOptions
- object SpawnSyncResult