aviz@lanai.cs.ucla.edu (03/05/89)
How can I run a shell command in C? Like running UUCP, or SendMail, or any other program? And can I make the C program work interactively with the other application? thanks...
debra@alice.UUCP (Paul De Bra) (03/06/89)
In article <21314@shemp.CS.UCLA.EDU> aviz@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@research.att.com | uunet!research!debra | ------------------------------------------------------