Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.wizards Subject: Re: C-Execute-Command Message-ID: <1989Dec3.025019.11954@athena.mit.edu> Date: 3 Dec 89 02:50:19 GMT References: <2614@servax0.essex.ac.uk> Sender: root@athena.mit.edu (Wizard A. Root) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Followup-To: comp.unix.questions Organization: Massachusetts Institute of Technology Lines: 24 In article <2614@servax0.essex.ac.uk> georg@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@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8495 Home: 617-782-0710