Hi, I have an question in C: How can i handle output of running process?

Example: when creating CGI script in C, i need to run traceroute and
put out traceroute's output (maybe changed). Is there cany possibility?

In alphas there is an C function fork-pty, which forks program and creates
an pipe connecting childs I/O with an usable file/descriptor. Is there any
possibility in Linux how to do this? I am sure telnet deamon uses this
(runs shell, takes it's I/O and transfer it through net pipe to client.... 

                                       +-----------------------------------+
                                       |                                   |
                                       |            Radim HABALA           |
                                       |                                   |
                                       |   e-mail:   [EMAIL PROTECTED]    |
                                       |                                   |
                                       |   Englisova 13, OPAVA,  746 01    |
                                       |      Czech Republic (Europe)      |
                                       |                                   |
                                       |   tel :  (0653)   21 46 34        |
                                       |                                   |
                                       +-----------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to