Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: How to call unix shell scripts from 'C'?
"Quintin, Richard" wrote:
>
> fork() and exec() are what you're looking for. I haven't done it in a
> while, but you should be able to find plenty of info online.
>
> On Wed, 2003-10-22 at 11:44, rgaffuri_at_cox.net wrote:
> > The unix and C forums are pretty inactive. Hope its ok to ask this here.
> >
> > Anyone know how to do this?
> >
> > --
Acutually, there is simpler than this. If the script echoes nothing, system() can be used. Otherwise, look for popen().
-- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult INET: sfaroult_at_oriole.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Oct 22 2003 - 15:49:25 CDT
![]() |
![]() |