Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: jobs command and pipes
- X-seq: zsh-users 1901
- From: "Zefram" <zefram@xxxxxxxxx>
- To: oma1000@xxxxxxxxx (Owen M. Astley)
- Subject: Re: jobs command and pipes
- Date: Fri, 30 Oct 1998 15:03:57 +0000 (GMT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.OSF.3.96.981030143520.21124A-100000@xxxxxxxxxxxxxxxxxxxxxxxxx> from "Owen M. Astley" at Oct 30, 98 02:36:05 pm
Owen M. Astley wrote:
>Why is it that the jobs command in zsh will not work with a pipe, although
>redirecting it to a file does work?
If the jobs command is on the left hand side of a pipeline, the shell has
to fork, and the jobs builtin runs in the forked process. This process
is not in control of any jobs, so the jobs command has nothing to report.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author