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