What does "show.exe" do? What does it output? You've sent the header for a plain-text page to the browser, then your system command, so, what are you expecting to happen at that point? You say it's a "presentation", which doesn't sound like plain text. I guess if your system call resulted in some output to STDOUT then your browser would show that output, but it sounds like you're expecting something completely different, like powerpoint?