I know why you used 2>&1. But I'm saying that w/backticks you shouldn't need to trap.
UPDATE: Deleted example
Ahh, but w/further testing...I found that it was the C program printing. I did need the trap, and I was incorrect on my previous post. I apologize. (It did work fine w/the trap however. The post below mine makes a good point about the './' and a possible path issue)
in reply to Re: Re: Inconsistent system call from backticks vs system()
in thread Inconsistent system call from backticks vs system()