diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-21 10:01:14 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-21 10:01:14 +0000 |
commit | 8e9f2a1033ed906625ed0b795bf29f2506092397 (patch) | |
tree | 78c0e51c28c953f3493ae4cdb59928f14904dac6 /shell/README | |
parent | 82e7a2971d6c3d4872f0b17137c6a69dc32a5eb7 (diff) | |
download | busybox-w32-8e9f2a1033ed906625ed0b795bf29f2506092397.tar.gz busybox-w32-8e9f2a1033ed906625ed0b795bf29f2506092397.tar.bz2 busybox-w32-8e9f2a1033ed906625ed0b795bf29f2506092397.zip |
hush: explain why "pipe; exit $?" doesn't show correct exitcode
git-svn-id: svn://busybox.net/trunk/busybox@18507 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/README')
-rw-r--r-- | shell/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/README b/shell/README index 32ad67380..bcd84dcad 100644 --- a/shell/README +++ b/shell/README | |||
@@ -1,5 +1,10 @@ | |||
1 | Various bits of what is known about busybox shells, in no particular order. | 1 | Various bits of what is known about busybox shells, in no particular order. |
2 | 2 | ||
3 | 2007-04-22 | ||
4 | hush: "sleep 1 | exit 3; echo $?" prints 0 because $? is substituted | ||
5 | _before_ pipe gets executed!! run_list_real() already has "pipe;echo" | ||
6 | parsed and handed to it for execution, so it sees "pipe"; "echo 0". | ||
7 | |||
3 | 2007-04-21 | 8 | 2007-04-21 |
4 | hush: removed setsid() and made job control sort-of-sometimes-work. | 9 | hush: removed setsid() and made job control sort-of-sometimes-work. |
5 | Ctrl-C in "rm -i" works now except for SH_STANDALONE case. | 10 | Ctrl-C in "rm -i" works now except for SH_STANDALONE case. |