ion does not work with dmenu
Created by: logankaser
Reproduction: Run dmenu with ion as the shell
Expected behavior: ion would allow dmenu to run shell commands and aliases as with other shells.
Actual behavior: Ion crashes with:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 25, message: "Not a tty" } }', src/libcore/result.rs:860:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Build information: ion 1.0.5 (x86_64-unknown-linux-musl) rev 0a1564ef (Not relevant here, has been a long standing issue.)
Misc: Related to #506 where dmenu does not work as expected in scripts. I believe that this is the cause of #506 .