the strcat function seems to overwrite the path rather than append to itCode:printf("%s\n", path) ; //this print /usr/bin/
printf("%s\n", parameter[0]) ; //this print w
strcat(path, parameter[0]) ;
printf("%s\n", path) ; //this print wusr/bin/
any idea why?
thanks in advance