I'm guessing that if you want to know whether bad things happened to your execl program, you're going to have to check for it yourself (since your program is running the file, error messages aren't going to go to the terminal necessarily) via the return value of execl.