Progam that doesn't accept STDIN pipes

From: Eric Voisard (evoisard@atisuher.ch)
Date: Wed Dec 17 2003 - 14:35:57 EST


Dear Fellows,

I've here an executable (compiled) that I'd like to pipe the input, but it
fails.
The program habitually is called by an user, and then the user gets an
interactive prompt where he can enter specific commands, well pretty like a
lot of other Unix programs.

When I try a simple 'echo my_command | /path/prog', I get the message
"input: fail".
This damn one doesn't seem to take its input from STDIN, unfortunately.

So, does anybody have an idea or a hack for making the program think its
input comes from the keyboard, while it comes from a redirection or a pipe.

Thanks in advance, Eric Voisard
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:42 EDT