Re: Separating "shell dir" output from GDB/MI output

Eli Zaretskii
2005-10-15T12:29:36Z

> Date: Sun, 9 Oct 2005 13:12:26 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sources.redhat.com
>
> A simpler and more specific solution for this particular problem would
> be to run "shell" through pipes and MI encapsulate its output, to
> prevent it from playing with the user's terminal. I think that's a
> good idea anyway.

I agree. We just need to be careful to use the portable routines,
like pexecute or popen/pclose, and then it will work everywhere.