webmcp

changeset 434:c7a27cfd07d0

Fixed autodoc documentation of extos.pfilter(...)
author jbe
date Sat Jan 16 01:05:53 2016 +0100 (2016-01-16)
parents 0bbf7717ebfd
children f704f35923e2
files libraries/extos/extos.autodoc.lua
line diff
     1.1 --- a/libraries/extos/extos.autodoc.lua	Fri Jan 15 23:27:18 2016 +0100
     1.2 +++ b/libraries/extos/extos.autodoc.lua	Sat Jan 16 01:05:53 2016 +0100
     1.3 @@ -3,13 +3,13 @@
     1.4  data_out,               -- string containing stdout data, or nil in case of error
     1.5  data_err,               -- string containing error or stderr data
     1.6  status =                -- exit code, or negative code in case of abnormal termination
     1.7 -extos.pfilter{
     1.8 -  data_in  = data_in,   -- string containing stdin data
     1.9 -  filename = filename,  -- executable
    1.10 -  arg1     = arg1,      -- first (non-zero) argument to executable
    1.11 -  arg2     = arg2,      -- second argument to executable
    1.12 +extos.pfilter(
    1.13 +  data_in,   -- string containing stdin data
    1.14 +  filename,  -- executable
    1.15 +  arg1,      -- first (non-zero) argument to executable
    1.16 +  arg2,      -- second argument to executable
    1.17    ...
    1.18 -}
    1.19 +)
    1.20  
    1.21  Executes the executable given by "filename", passing optional arguments. A given string may be fed into the program as stdin. On success 3 values are returned: A string containing all stdout data of the sub-process, a string containing all stderr data of the sub-process, and a status code. The status code is negative, if the program didn't terminate normally. By convention a status code of zero indicates success, while positive status codes indicate error conditions. If program execution was not possible at all, then nil is returned as first value and an error string as second value.
    1.22  

Impressum / About Us