rajput g v be comp 56 forced the electrons to say:
> hi,
>   can i run a linux command from a c program,
>  just like the way dos commands could be called (using system command)

   The plain old system will work. If you want the o/p of the command you
   run, then there is popen/pclose. If you want even more control, then there
   are exec* functions.

   Check out the man pages for these.

   Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])

--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.

Reply via email to