huyeH
Deno14mo ago
huye

how to get single result from Subprocess

Hey, I am new to deno and I am learning how to communicate between parent and subprocess.

In this doc: https://docs.deno.com/examples/subprocesses-output/ it shows it needs to use console.log() through std.out in subprocess. If there are multiple console.logs in subprocess, then all of them will be captured by parent. Is there a way for subprocess to only return a single result back to parent process?

Thanks in advance!
Was this page helpful?