I have got an application which is not a GUI developed in C. I need to
enter the data from notepad and enter in the place which prompt me for
the correct data. I am storing in the order in which its prompting.
can any one provide me the guidence of how to go about. can it be
acheived using perl.
Thanks
The program (porabably) reads data from STDIN (standard input).
Windows and Unix allow you to "pipe" a textfile to STDIN so that when
the program tries to read from STDIN, it will get the contents of the
file.
Usage: say I got a program called program.pl and an input file called
input.txt, both in the same directory. To pipe, execute the program as
follows:
program.pl < input.txt
.
Re: How does one effect O_NONBLOCK?! ... once I've created 3 pipes (for stdout, stderr and stdin) ... child and parent processes and then dup2the 3 descriptors into the ... corresponding ends of the pipes in the child before execve-ing. ... end side of the pipe that's connected to stdin of the child process. ... (comp.unix.programmer)
Re: man-in-the-middle translation of input ... program that spawns the game, forwards its output to stdout, reads my input ... replaces my input by a series of valid game commands.... write to stdout, I couldn't find a way to read from stdin, preprocess the ... input and feed it through a pipe to the child. ... (comp.unix.programmer)
Re: Pipe buffers limit of 16 * 4K ... we have a cgi which uses a lib.... content to the cgi via stdin which, in this case, is a pipe.... the pipe buffer), take some decisions and then call the lib. ... (Linux-Kernel)
Re: Fifo program. ... >> Can anyone point me to a simple fifo program?... >> blocking on stdin.... If you just put a pipe between them, then it can be 10-20% slower than ... (comp.unix.questions)
Re: stdin ? stdin ? Whats wrong with stdin? -- an UPDATE ... program checks to see if an output file exists for an input file and, ... the user if it's okay to delete an output file.... This is the only place in the program that stdin is used or any input from ... (microsoft.public.vc.language)