mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
28179, users/15314, users/15310, users/15200:
various job and process control fixes
This commit is contained in:
parent
059c8dede6
commit
c7ff1b79dd
5 changed files with 201 additions and 110 deletions
|
|
@ -390,7 +390,8 @@ Process substitutions may be used following redirection operators; in this
|
|||
case, the substitution must appear with no trailing string.
|
||||
|
||||
In the case of the tt(<) or tt(>) forms, the shell runs the commands in
|
||||
var(list) asynchronously. If the system supports the tt(/dev/fd)
|
||||
var(list) as a subprocess of the job executing the shell command line.
|
||||
If the system supports the tt(/dev/fd)
|
||||
mechanism, the command argument is the name of the device file
|
||||
corresponding to a file descriptor; otherwise, if the system supports named
|
||||
pipes (FIFOs), the command argument will be a named pipe. If the form with
|
||||
|
|
@ -456,7 +457,7 @@ version of the example above:
|
|||
example(tt(paste <LPAR()cut -f1) var(file1)tt(RPAR() <LPAR()cut -f3) var(file2)tt(RPAR()) tt(> >LPAR())var(process)tt(RPAR()))
|
||||
|
||||
(note that no tt(MULTIOS) are involved), var(process) will be run
|
||||
asynchronously. The workaround is:
|
||||
asynchronously as far as the parent shell is concerned. The workaround is:
|
||||
|
||||
example(tt({ paste <LPAR()cut -f1) var(file1)tt(RPAR() <LPAR()cut -f3) var(file2)tt(RPAR() }) tt(> >LPAR())var(process)tt(RPAR()))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue