This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell.
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
I haven't really read this thread yet, but I wanted to chime in...
>> + pipe->handle = popen (pipe->shell_cmd, pipe->mode);
Pedro> I'm not sure that'll build on all supported hosts.
Pedro> I think on Windows that may require use of _popen instead.
libiberty has the already-portable 'pexecute' code for this kind of
thing.
Tom