SUMMARY: executing osf command from C program

From: Mary Aplin <aplin_at_alpha.loyno.edu>
Date: Fri, 17 Nov 1995 16:53:35 +0100 (MET)

Thanks to all who responded:

Sean Watson
iwm_at_uvo.dec.com
Ken Teh

Problem:
I needed to execute the telnet command from within a C program.

Solution: (From DEC Software Support)
Include the following line in the C program:

execlp( "/usr/sbin/telnet", "telnet", "alpha.loyno.edu", 0)

It works.

Mary Aplin
Loyola University, New Orleans
Received on Fri Nov 17 1995 - 23:24:19 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT