Trick program into running in foreground?
I have this weird program: dns2tcpc (creates a dns tunnel). I would like it to run at startup. However, I found that the program doesn't work when backgrounded!
EX: dns2tcpc -z dns.domain.com -l 8888 220.127.116.11
Works, and I can use SSH to port 8888.
However, if I try to background it, like: dns2tcpc -z dns.domain.com -l 8888 18.104.22.168 &
Then trying to connect to SSH won't get any response
Now, I know this is a bug in dns2tcpc, and I really don't feel like compiling it or anything (I may have to), so is there any way to "trick" an application into thinking it's running in the foreground (like typing the command from the terminal window)? (Bonus if no addition installation is required)