C-Execute-Command

Jonathan I. Kamens jik at athena.mit.edu
Sun Dec 3 13:50:19 AEST 1989


In article <2614 at servax0.essex.ac.uk> georg at essex.ac.uk writes:

>     Does anybody know how to call an executable file from a C-program ? 
>     I am using the Unix CC compiler.

  Try looking at the man pages for execve(2), execl(3) and system(3).

  This is the kind of question that almost undoubtedly belongs in the
comp.unix.questions newsgroup, not comp.unix.wizards, because it is a
simple question that is answered directly by an available man page.
Questions should be asked in Comp.unix.wizards only if you are really
sure they are "wizard-level" questions, or if you have asked in
comp.unix.questions, waited a few days, and still not received any
answers (although that probably won't happen).

  Furthermore, as the monthly posting to comp.unix.questions points
out, there is almost undoubtedly someone at your site who could have
answered this question.  You should try to avoid posting questions to
the entire net that could be answered easily by someone at your site.

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710



More information about the Comp.unix.wizards mailing list