From 52881e9f23d1b02f75f2c1f5e704edc283be5cdf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 21 Apr 2007 13:42:52 +0000 Subject: hush: fix more backgrounding bugs. Plenty of them remains still. --- shell/README | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'shell/README') diff --git a/shell/README b/shell/README index bcd84dcad..b78d651a5 100644 --- a/shell/README +++ b/shell/README @@ -1,6 +1,12 @@ Various bits of what is known about busybox shells, in no particular order. -2007-04-22 +2007-04-21 +hush: fixed non-backgrounding of "sleep 1 &" and totally broken +"sleep 1 | sleep 2 &". Noticed a bug where successive jobs +get numbers 1,2,3 even when job #1 has exited before job# 2 is started. +(bash reuses #1 in this case) + +2007-04-21 hush: "sleep 1 | exit 3; echo $?" prints 0 because $? is substituted _before_ pipe gets executed!! run_list_real() already has "pipe;echo" parsed and handed to it for execution, so it sees "pipe"; "echo 0". -- cgit v1.2.3