Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: non-interactive set -m



Eric Blake <ebb9 <at> byu.net> writes:

> Still another thing to fix:
> 
> $ Src/zsh -c 'set -m; echo $?'
> 0
> $ Src/zsh -c '(set -m); echo $?'
> zsh:set:1: can't change option: -m
> 
> So something about creating a subshell is interfering with the ability to
> enable the monitor option.

This last finding is a pre-existing condition that afflicts interactive shells
too:

$ zsh --version
zsh 4.3.9 (i386-pc-cygwin)
$ zsh -ci '(set -m); echo $?'
zsh:set:1: can't change option: -m
1
$

-- 
Eric Blake





Messages sorted by: Reverse Date, Date, Thread, Author