rakitzis / rc

rc shell -- independent re-implementation for Unix of the Plan 9 shell (from circa 1992)
Other
257 stars 23 forks source link

Inconsistent exit behaviour #66

Closed fijal-void closed 1 year ago

fijal-void commented 4 years ago

`; /bin/rc ./test-exit still alive ; /usr/lib/plan9/bin/rc ./test-exit ; ; cat test-exit

!/bin/rc

fn foo { exit 1 }

foo >/dev/null echo 'still alive' ; ` plan9port's rc behaves as expected. Without redirections exits. Looks like the same problem as #62

xyb3rt commented 1 year ago

This is indeed a duplicate of #62. Closing.