OtherProcessProcess.waitForLineOutputVersion: 22.2.0On this pageProcess.waitForLineOutput() method Signature: class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;} Parameters ParameterTypeDescriptionregexRegExptimeoutnumber(Optional) Returns: Promise<string>