Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: C routine to run Unix commands
#include <stdio.h>
#include <stdlib.h>
int c_ExecuteShellCommand(char *sCommand)
{
system(sCommand);
}
/*
void main(void)
{
int nReturn;
nReturn = c_ExecuteShellCommand("ls -l");
}
*/
Tom
John Dunn <John.Dunn_at_care4free.net> wrote in message
news:8funod$1qc$1_at_lure.pipex.net...
> Does any one have an external C procedure that runs Unix commands?
>
> I have tried writing one that calls "system", but it does not seem to
work.
>
> John
>
> --------------------------------------------------------------------------
--
> ----------------
> Get Paid to Surf The Net - I Do
>
> http://www.abts95.ukgateway.net/index.html
>
>
Received on Thu May 18 2000 - 00:00:00 CDT
![]() |
![]() |