child_process_logging.ts

Declarations
#

2 declarations

view source

configure_colored_output_with_path_replacement
#

child_process_logging.ts view source

(child_process: ChildProcess, replacement?: string, cwd?: string): void

Configures process output handling with path replacements while preserving ANSI colors.

child_process

type ChildProcess

replacement

type string
default '.'

cwd

type string
default process.cwd()

returns

void

map_child_process_output
#

child_process_logging.ts view source

(child_process: ChildProcess, transform: (data: string) => string): void

Maps child process output through a transform function.

child_process

type ChildProcess

transform

type (data: string) => string

returns

void

Imported by
#