An error message is printed hinting of the fact foo/bar.log couldn't be opened for writing
Actual 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 execute
Also while opening a tee related issue let me point out the command's code touches yosys_input_files which I think should've been yosys_output_files
Version
Yosys 0.45+153 (git sha1 1f517d6c7, 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