On 2014-02-09 01:22:00 -0500, Calvin Morrison wrote: > > - You are using system(), which is highly unportable and extremely > > fragile; > > I'm not so sure. What's a better solution? system() seems like a very > standard function. Portability is also not a real concern for me. mos > everybody uses linux who uses X11, if you are using something else, > well, then it's probably simple to write a patch. If there's a better > solution I am all for it though
It's not about the function, it's about the fact that it relies on the reparsing of that syntax in your shell, which is unknown.
pgpeyVqzloMCK.pgp
Description: PGP signature