Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Sending and receiving data to standard input and output of the linux based server.by Exploringperl (Initiate) |
on Mar 01, 2013 at 13:05 UTC ( [id://1021250]=note: print w/replies, xml ) | Need Help?? |
Thnaks for Information!!
But the question is slight different.
I can do either telnet, ssh or http daemon to connet to server and issue commands. I can even wait for the response.
But all these assume that on the server side there is a standard command/shell prompt.
My question is once I issue the command (eg ./run.out), this run.out waits for some <STDIN> and the prompt is ">>" instead of "# or $ or ~". The .out is now waiting for some data at the stdin, so I need to send some Data after it waits for STDIN.
How to I Send data to the .out running at server waiting for the <STDIN>?
In Section
Seekers of Perl Wisdom
|
|