Re: [AD] allegro_message under X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



On Sat, 23 Oct 2004, Julien [iso-8859-1] Cugni?re wrote:

This was more complicated than I expected, because the message to display must be put in a form that won't confuse the shell (think metacharacters). Right now, I put the message between double quotes, and escape with a backslash the characters (&) (!) (") and (\). I don't know if this is enough.

Don't use system, use fork/exec. Would be safer.

Have a nice day.

Stepan Roh




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/