Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "proc"

Wrappers and utilities around the NodeJS child_process module.

Index

Variables

Const log

log: Logger = createLogger('proc')

Functions

execute

  • Execute a command and return the result

    note

    Output from the command is accumulated into a single buffer: Commands which produce a lot of output should be careful about memory constraints.

    Parameters

    • command: string

      The binary to execute

    • args: string[]

      The arguments to pass to the binary

    • Optional outputConsumer: OutputConsumer | null

      An output consumer for the command execution

    • Optional options: ExecutionOptions

      Additional execution options

    Returns Subprocess

Generated using TypeDoc