On 3/2/18 9:23 AM, Steven Schveighoffer wrote:
On 3/1/18 11:50 PM, Nick Sabalausky (Abscissa) wrote:
How could this be accomplished? Is it even possible?
You'd have to do this in the parent. You can duplicate the file
descriptor, so that writing to either goes to the same spot, but you
On 3/1/18 11:50 PM, Nick Sabalausky (Abscissa) wrote:
I'd like to include this functionality in Scriptlike, but I don't know
if it's even possible:
Launch a process (spawnProcess, pipeShell, etc) so the child's
stdout/stderr go to the parent's stdout/stderr *without* the possibility
of them
On Friday, 2 March 2018 at 04:50:06 UTC, Nick Sabalausky
(Abscissa) wrote:
Launch a process (spawnProcess, pipeShell, etc) so the child's
stdout/stderr go to the parent's stdout/stderr *without* the
possibility of them getting inadvertently
reordered/reinterleaved when viewed on the terminal,
I would suggest redirecting the child to the parent pipe, but
then having the parent write the data back out to its own
stdout/err.
It'd be a bit tricky with just Phobos' file though because it
doesn't make it easy to wait for or be notified about input on
it, but the underlying OS apis make
I'd like to include this functionality in Scriptlike, but I don't know
if it's even possible:
Launch a process (spawnProcess, pipeShell, etc) so the child's
stdout/stderr go to the parent's stdout/stderr *without* the possibility
of them getting inadvertently reordered/reinterleaved when