bug-bash
[Top][All Lists]
Advanced

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

Re: [can't 'wait' on a stopped job]


From: Chet Ramey
Subject: Re: [can't 'wait' on a stopped job]
Date: Tue, 10 Apr 2001 10:50:50 -0400

> Machine Type: i586-mandrake-linux-gnu
> 
> Bash Version: 2.04
> Patch Level: 12
> Release Status: release
> 
> Description:
> The builtin 'wait' seems to misbehave, when you try to wait on a stopped
> job. In ksh99, we are able to 'wait' on both a running and on a 'stopped'
> job. In bash, I sometimes get an error when I try to wait on a stopped job,
> after which wait returns. Or (even worse) 'wait' returns '0' immediatly when
> waiting on stopped job. The problem is that we can't 'wait' on a stopped job
> in bash, but we can in (at least) ksh99. We should be able to wait on a
> stopped job in bash as well.

Bash won't let you wait on a stopped job.  I don't see this changing soon.
You get the warning when using job ids, but no warning when using pids.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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