From ed861c5bc1194eaef6e96db09ea367a777e345a5 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 26 Jan 2006 22:47:24 +0000 Subject: [PATCH] *** empty log message *** --- README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README b/README index 8d85735..d680c6a 100755 --- a/README +++ b/README @@ -1,5 +1,5 @@ -- Environment -os.environ +os.environ() -- returns a copy of the environment os.setenv(name, value) os.unsetenv(name) @@ -25,5 +25,6 @@ file:lock(mode, start, length) -- mode is "r" or "w", start and length are optio file:unlock(start, length) -- start and length are optional -- Process control -pid = os.spawn(filename, {args={}, env={}, stdin=io_file, stdout=io_file, stderr=io_file}) +pid = os.spawn(filename, {args={}, env={}, stdin=file, stdout=file, stderr=file}) +in, out = os.pipe() -- in and out are io.file objects exitcode = os.wait(pid)