This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Separating "shell dir" output from GDB/MI output
> 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.