[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Returning result from execute function.
- From: "Nick Trout" <nick@...>
- Date: Mon, 26 Nov 2001 15:51:17 -0000
execute("dir > temp_file.txt")
then read the file using open()... there is a tmpfile() function as well I
think that will make up a filename for you.
----- Original Message -----
From: "CRIBBSJ" <CRIBBSJ@oakwood.org>
To: "Multiple recipients of list" <email@example.com>
Sent: Monday, November 26, 2001 4: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:
> 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.