tee -q -o <bad-path>
fails silently
#4636
Labels
pending-verification
This issue is pending verification and/or reproduction
tee -q -o <bad-path>
fails silently
#4636
Version
Yosys 0.45+153 (git sha1 1f517d6, clang++ 11.1.0 -fPIC -O3)
On which OS did this happen?
macOS
Reproduction Steps
where
foo/
doesn't existExpected Behavior
An error message is printed hinting of the fact
foo/bar.log
couldn't be opened for writingActual Behavior
The error message from within
tee
is silenced because of the effect of the-q
option, the Yosys process exits with a non-zero exit code but no hint as to why is given;log (2)
doesn't executeAlso while opening a
tee
related issue let me point out the command's code touchesyosys_input_files
which I think should've beenyosys_output_files
The text was updated successfully, but these errors were encountered: