use system( ) sys call. See man system
> -----Original Message-----
> From: rajput g v be comp 56 [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 01, 2000 1:51 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [LI] linux from c
>
> hi,
> can i run a linux command from a c program,
> just like the way dos commands could be called (using system command)
>
>
> Gaurav.Rajput
> <[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.
--------------------------------------------------------------------------
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.