diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-01-24 11:05:46 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:40 +1000 |
commit | 76501653fb106ec89a06465900a91c84fb9f090a (patch) | |
tree | 4754c30bc6bc648886a49b712c3dc965ced62881 /doc/jim_tcl.txt | |
parent | 70a893dae1daa29a05cb00e17632312a663143c7 (diff) | |
download | jimtcl-76501653fb106ec89a06465900a91c84fb9f090a.zip jimtcl-76501653fb106ec89a06465900a91c84fb9f090a.tar.gz jimtcl-76501653fb106ec89a06465900a91c84fb9f090a.tar.bz2 |
exec fixes, add os.wait
Ensure that exec returns an error if appropriate
Background exec returns a list of pids
Need to close error filedescriptor
Add os.wait
Diffstat (limited to 'doc/jim_tcl.txt')
-rw-r--r-- | doc/jim_tcl.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/jim_tcl.txt b/doc/jim_tcl.txt index d733d50..9733705 100644 --- a/doc/jim_tcl.txt +++ b/doc/jim_tcl.txt @@ -37,7 +37,7 @@ The major differences are: 7. file mkdir, file rename (Tcl 7.x) 8. env command to access environment variables 9. List: lmap, lset, lreverse (Tcl 8.x) -10. os.fork +10. os.fork, os.wait 11. rand 12. string map (Tcl 7.x) 13. subst (Tcl 7.x) @@ -1351,7 +1351,8 @@ in the pipeline will go to the application's standard output unless redirected in the command, and error output from all the commands in the pipeline will go to the application's -standard error file. +standard error file. The return value of exec in this case +is a list of process ids (pids) in the pipeline. Each *arg* becomes one word for a command, except for '|', '<', '<<', '>', and '&' arguments, and the |