import "os"
func main() { os.Exit(2)}tubenose=% 6g x.gotubenose=% 6l x.6tubenose=% 6.outtubenose=% echo $?2tubenose=%
Be more specific about architecture and operating system. My run was amd64 on darwin.
-rob