querysub 0.237.0 → 0.239.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -82,6 +82,7 @@ export async function streamScreenOutput(config: {
|
|
|
82
82
|
|
|
83
83
|
async function stop() {
|
|
84
84
|
if (stopped) return;
|
|
85
|
+
console.log(`Stopping stream output for ${screenName}`);
|
|
85
86
|
stopped = true;
|
|
86
87
|
|
|
87
88
|
if (childProcess) {
|
|
@@ -105,6 +106,8 @@ export async function streamScreenOutput(config: {
|
|
|
105
106
|
|
|
106
107
|
let started = new PromiseObj<void>();
|
|
107
108
|
|
|
109
|
+
console.log(`Has stdout: ${!!childProcess.stdout}`);
|
|
110
|
+
|
|
108
111
|
childProcess.stdout?.on("data", (data) => {
|
|
109
112
|
if (stopped) return;
|
|
110
113
|
console.log(`Captured data for ${screenName}: ${data.length}`);
|