This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb run < file



On Sat, 30 Jun 2001, Tak Ota wrote:

> +   char *shell = "bash -c 'exec %s %s'";

I think this will fail if the command includes the apostrophe character.

And, of course, hard-wiring the shell name is not really a good idea.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]