Separating "shell dir" output from GDB/MI output

Eli Zaretskii eliz@gnu.org
Sat Oct 15 12:29:00 GMT 2005


> 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.



More information about the Gdb mailing list