the wonders of execve

On Wed, Apr 18, 2012 at 7:52 AM, Alexander Tanyukevich
<atanyukev...@gmail.com> wrote:
>> You need to separate the argument from the actual command like so:
>>
>> static const char *volinccmd[] = {"/home/olek/.bin/pavolume", "increase", 
>> NULL};
>>
>> Otherwise it would try to exec a script named "pavolume increase" in the
>> folder "/home/olek/.bin" without any arguments.
>
> Mea culpa :)
> Thank you all it works now!!
>
>
> --
> Alexander Tanyukevich
> atanyukev...@gmail.com
>

Reply via email to