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
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi