Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] NO_EXEC should not exec $NULLCMD
- X-seq: zsh-workers 51363
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] NO_EXEC should not exec $NULLCMD
- Date: Mon, 6 Feb 2023 14:22:50 +0200
- Archived-at: <https://zsh.org/workers/51363>
- List-id: <zsh-workers.zsh.org>
Steps to reproduce:
% PS1='%# ' zsh -f
% zsh -nc ': $( < $1 )'; print $?
zsh:1: no such file or directory:
1
%
Expected result:
% PS1='%# ' zsh -f
% zsh -nc ': $( < $1 )'; print $?
0
%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author