You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Macchina does not work without /dev/stdin on macOS.
I've also tested on Arch Linux x86_64 and Arch Linux aarch64, they both work without /dev/stdin.
To Reproduce
Steps to reproduce the behavior:
macchina < /dev/null
Expected behavior
Macchina runs correctly.
Actual behavior
It hangs and cannot exit with CTRL-C.
Usage Scenario
I put macchina into my .bashrc script, and would like it to not consume /dev/stdin, so that
I can type ahead when .bashrc script (macchina and others) runs;
and shell can accept external input on startup.
e.g. VSCode can spawn an integrated terminal, feed command into it, and then run it. (e.g. VSCode Python virtualenv integration)
currently the above does not work as the initial command fed into the terminal will be consumed by macchina.
Screenshots
macchina --doctor output
We've collected a total of 20 readouts including 2 failed read(s) and 1 read(s) resulting in a warning.
Readout "LocalIP" failed with message: Unable to get local IPv4 address.
Readout "GPU" failed with message: This metric is not available on this platform or is not yet implemented by libmacchina.
1 of the 3 unsuccessful read(s) resulted in a warning:
Readout "Distribution" threw a warning with message: Since you're on macOS, there is no distribution to be read from the system.
Describe the bug
Macchina does not work without /dev/stdin on macOS.
I've also tested on Arch Linux x86_64 and Arch Linux aarch64, they both work without /dev/stdin.
To Reproduce
Steps to reproduce the behavior:
macchina < /dev/null
Expected behavior
Macchina runs correctly.
Actual behavior
It hangs and cannot exit with CTRL-C.
Usage Scenario
I put macchina into my .bashrc script, and would like it to not consume /dev/stdin, so that
Screenshots
macchina --doctor
outputSystem Information
I've also tested with macchina 6.1.8, it's the same issue for me.
The text was updated successfully, but these errors were encountered: