lua-users home
lua-l archive

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


You might want to have a look at this page:
http://lua-users.org/wiki/ShellAccess
I think that code should be what you need!
HTH,
Martin
----- Original Message -----
From: "CRIBBSJ" <CRIBBSJ@oakwood.org>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Monday, November 26, 2001 5:56 PM
Subject: Returning result from execute function.


> 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:
>
> execute("dir")
>
> 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.
>
> Jamey.
>