I apologize - judging from the replies - I wasn't clear.
The program I am execing is a compiled C app under bash, it isn't a bash script. That is why I don't have the source. I can't rewrite it
flexor - thanks for the reply though, I will put that stuff into my "learning" notebook I keep for when I'm doing something in perl.