diff options
Diffstat (limited to 'composer.c')
-rw-r--r-- | composer.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,10 @@ +#include <stdio.h> #include <unistd.h> #define COMMAND "echo" int main(int argc, char** argv) { - execvp(COMMAND, argv); + int result = execvp(COMMAND, argv); + if (result < 0) { + perror(COMMAND); + } }
\ No newline at end of file |