Hi,
I am trying to run a program called netcat ( as a coprocess. As far as I know, the following command should start it a as a coprocess:
netcat -l -p 80 |&
(The -l -p 80 tells it to listen to port 80)
Then if I want to get a line of its output, the following should do it:
read -p line
print $line
However, thae read command just hangs, even when I know netcat is outputting something. Where is it outputting to, and how can I get at it?
Thanks for your help!
Doug
I am trying to run a program called netcat ( as a coprocess. As far as I know, the following command should start it a as a coprocess:
netcat -l -p 80 |&
(The -l -p 80 tells it to listen to port 80)
Then if I want to get a line of its output, the following should do it:
read -p line
print $line
However, thae read command just hangs, even when I know netcat is outputting something. Where is it outputting to, and how can I get at it?
Thanks for your help!
Doug