bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] popen() and pclose() in FILE_IO


From: Juergen Sauermann
Subject: Re: [Bug-apl] popen() and pclose() in FILE_IO
Date: Sat, 19 Apr 2014 17:13:27 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

you can call GNU APL as a CGI script from apache, see workspaces/APL_CGI.apl.
The script produces the GNU APL home page as seen at http://www.gnu.org/software/apl/

/// Jürgen


On 04/19/2014 04:59 PM, Blake McBride wrote:
Cool.   If you add sockets we can create a web server and handle web services.

Blake McBride

www.arahant.com
Cell:    615-394-6760
Office:  615-376-5500
Fax:     615-377-6006




On Fri, Apr 18, 2014 at 7:12 AM, Juergen Sauermann <address@hidden> wrote:
Hi,

I have added functions popen() and pclose() to the native FILE_IO function, see SVN 212.

That makes it possible, for example,  to call programs from GNU APL and return their output
directly to GNU APL rather than needing to store the output of the command in an intermediate
file and reading it back.

An example of how to use this is given near the end of testcases/File_IO.tc.

/// Jürgen






reply via email to

[Prev in Thread] Current Thread [Next in Thread]