Concept Flow - spawn for streaming processes
Call spawn()
Child process starts
Streams open: stdout, stderr
Listen to data events
Receive chunks of output
Process data chunks
Listen to close event
Child process ends
The spawn function starts a child process and streams its output in chunks, allowing real-time data handling until the process ends.