[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Returning result from execute function.
- From: "Marcos E. Wurzius" <marcos@...>
- Date: Mon, 26 Nov 2001 15:56:19 -0400
execute(c.." > _temp")
local input = _INPUT
local o, h
h = readfrom('_temp')
o = read("*a")
_INPUT = input
local result = shell("dir")
> This is probably going to be a pretty basic question, but how do you return
> the result of an execute() call. For example, on windows I want to do a:
> and get back the directory listing. Instead, all I get is a status code. I
> have looked at the docs, but it only talks about the status code.
> Thanks in advance for any help.