Shell..
Paul De Bra
debra at alice.UUCP
Mon Mar 6 02:52:58 AEST 1989
In article <21314 at shemp.CS.UCLA.EDU> aviz at CS.UCLA.EDU () writes:
>How can I run a shell command in C? Like running UUCP, or SendMail, or any
>other program?
see system(3)
>And can I make the C program work interactively with the other application?
>thanks...
see popen(3)
the one problem that remains with popen is that you can only read from the
pipe or write to the pipe but not both.
Paul.
--
------------------------------------------------------
|debra at research.att.com | uunet!research!debra |
------------------------------------------------------
More information about the Comp.unix.questions
mailing list