--- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote:
> On 04 Apr 2007 07:21:53 -0700, Tamas Marki
> <[EMAIL PROTECTED]> wrote:
> > On 04 Apr 2007 07:07:35 -0700, sanofsans
> <[EMAIL PROTECTED]> wrote:
> > > The command line is system("script"); and not a
> perl command.
> > > I am running it on Windows. Any suggestions?
> >
> > Ah, I thought that you were the one who asked
> about executing a perl script.
> > But my recommendation still applies, just use it
> like that:
> >
> > system ("script > output.txt");
>
> An alternative is to use the popen() function form
> stdio.h and be able
> to grab the output directly from the running process
> inside your C
> code.
>
> (Does popen() work on Windows?)
>
> -- Brett
http://msdn2.microsoft.com/en-us/library/96ayss4b(vs.71).aspx
Mickey M.
Construction Partner Inc.
http://www.constructionpartner.com
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html