Open
Description
I've noticed std::env::current_exe()
on openbsd depends on argv[0], which means the resolution only works if the binary was started with a relative or absolute path, but not when it was resolved by the shell using $PATH.
rust/src/libstd/sys/unix/os.rs
Lines 260 to 286 in 9ebf478