You cannot use the handles with the file IO and expect things to work. osproc
gives you `inputStream()` and `outputStream()` for a reason.
import osproc, streams
...
for i in 0..processes.high:
var process = startProcess(config.subcommand,
options={poStdErrToStdOut, poDemon})
var fh = process.inputStream()
fh.writeLine("*regex=", config.regex)
fh.writeLine("*configured")
# ensure data is transmitted!
fh.flush()
- Can't write to a subprocess - can't even compile marksummerfield
- Re: Can't write to a subprocess - can't even compile mashingan
- Re: Can't write to a subprocess - can't even comp... marksummerfield
- Re: Can't write to a subprocess - can't even ... Araq
- Re: Can't write to a subprocess - can't e... marksummerfield
