Skip to main content
Version: 21.5.0

Process.waitForLineOutput() method

Signature:

class Process {
waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;
}

Parameters

ParameterTypeDescription
regexRegExp
timeoutnumber(Optional)

Returns:

Promise<string>