Obviously I have some wrong assumptions, because this prints "strsize = 8" no matter what.
I realize my use of system() might be misguided, so if you have comments on that don't hold back, just please help out with the string-thing aswell : )
BTW it's a 'wrapper' for shell one-liners, so it is actually supposed to run whatever input it gets in the shell it was called from.
if( system(command) == 0) {
char* buff = malloc(sizeof(command)+42);
strcat(buff, "notify-send \"notif finished\" \"Command: '");
strcat(buff, command);
strcat(buff, "'\"");
system(buff);
printf("strsize = %li\n", sizeof(buff));
}