|
Posted by Ben Morrow on March 26, 2008, 10:22 pm
Please log in for more thread options
>
> > system("aspell -a < checkthis.txt > errors.txt");
> >
> > but I would like to avoid if possible having to write the file and
> > then open and read the errors.txt file. Is there a way to pipe this
> > information straight from perl and get the results back?
>
> Have a look at IPC::Open2, or IPC::Open3 if you're also interested in
> stderr.
IPC::Run is easier to use, and harder to get wrong.
Ben
|