What does "exec ls" do? I bet it also kills your terminal window. I'm just guessing, but since exec is replacing your shell with another program, I would think that the terminal program is detecting it, not liking it, and giving up. In any event, the problem doesn't seem to be related to "fchello". It will probably work if you just type "./fchello" on the command line. Hope that helps!
What does "exec ls" do? I bet it also kills your terminal window. I'm just guessing, but since exec is replacing your shell with another program, I would think that the terminal program is detecting it, not liking it, and giving up. In any event, the problem doesn't seem to be related to "fchello". It will probably work if you just type "./fchello" on the command line. Hope that helps!