Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Sys.executable_name on Linux does not use /proc/self/exe if full path exceeds 256 characters #7626
Original bug ID: 7626
On Linux, Sys.executable_name depends on /proc/self/exe if the symlink can be read, and otherwise falls back on argv. The buffer used to read /proc/self/exe is 256 characters, so for long paths this always fails.