home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!uakari.primate.wisc.edu!ames!haven.umd.edu!cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!cathedral!abmg
- From: abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi)
- Newsgroups: comp.unix.programmer
- Subject: check if a program exists
- Keywords: program
- Message-ID: <3467@babcock.cerc.wvu.wvnet.edu>
- Date: 12 Aug 92 16:04:22 GMT
- Sender: news@cerc.wvu.wvnet.edu
- Lines: 6
-
- Hi,
- I have an application that requests form the user to input
- a program name. I want to know if there is a way to check in a C program
- if the name that user entered is acutally a program name, before executing
- that program. User may enter a wrong program name I want to do the error
- checking before taking further actions in the program. Thanks.
-