Thank you for sharing. :) import osproc, streams var exeName = "sayhello"
when defined(windows):
exeName &= ".exe."
echo "exeName=",exeName
[https://www.lost-identification.com](https://www.lost-identification.com)
var tstouthdl = tstprc.outputStream()
var line = newStringOfCap(120).TaintedString
while true:
if tstouthdl.readLine(line):
echo "piped:",line
elif not running(tstprc): break
