How to issue a C SHELL command within a C program
Ambarish Malpani
ambarish at gandhi.UUCP
Thu Aug 16 04:23:15 AEST 1990
In article <25279.26c7fd35 at kuhub.cc.ukans.edu> jian at kuhub.cc.ukans.edu writes:
>How can I issue a statment that executes a C SHELL command within a C program?
>I would appreciate any helps.
>
>Jian Q. Li
>jian at kuhub.cc.ukans.edu
Try using the system() library routine
eg. system("pwd");
Ambarish
sun!valid!ambarish
More information about the Comp.unix.questions
mailing list