I dunno, quotearg is a pretty big chunk of code
taken from a GPLed project, and it does far more
than what is needed to run 'system'. It might
be better to write a new module that does just what
you want. It might replace the sh-quote module.
P.S. Please note my email address is now
.
Il 17/10/2012 17:46, Eric Blake ha scritto:
> On 10/17/2012 09:35 AM, Richard W.M. Jones wrote:
>> libguestfs (an LGPLv2+ library) would like to use the useful quotearg
>> functions to ensure we can run system(3)-style external commands while
>> safely quoting shell arguments.
>>
>> However this wo
On 10/17/2012 09:35 AM, Richard W.M. Jones wrote:
> libguestfs (an LGPLv2+ library) would like to use the useful quotearg
> functions to ensure we can run system(3)-style external commands while
> safely quoting shell arguments.
>
> However this would require relaxation of the license to LGPLv2+ f
libguestfs (an LGPLv2+ library) would like to use the useful quotearg
functions to ensure we can run system(3)-style external commands while
safely quoting shell arguments.
However this would require relaxation of the license to LGPLv2+ for
at least the following modules [*]:
quotearg
quotear