gdb run < file

Eli Zaretskii eliz@is.elta.co.il
Sun Jul 1 01:20:00 GMT 2001


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.



More information about the Gdb mailing list