Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Rewrite most of the shell detection stuff (do not merge) #2161
I did some process-digging and it turns out there is not a trace of
There are quite a few variants of subshell-spawning, each requiring a different call:
The logic gets complicated pretty quickly, so I decided to refactor them into five classes (plus an intermediate for the Cmder cases).