bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: while sleep 1;do :& done vs. C-z


From: Dan Jacobson
Subject: Re: while sleep 1;do :& done vs. C-z
Date: Sun, 24 Oct 2004 09:24:52 +0800

Chet> I suspect that chances are pretty good you're stopping the
Chet> `sleep 1' process in the first example, which causes it to return
Chet> to the calling shell with a non-zero exit status

By the way, odd, hitting C-z during
$ sleep 8 && echo OK
always gets OK... meaning that suspending something always causes it
look like it completed successfully... well, I guess I've got a lot to
learn.  Anyways, I'm not sure one is able to make sleep return failure
with just C-z.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]