We don't bite newbies here... much | |
PerlMonks |
Re^2: $^O empty in windows powershell -- portableshell.bat ?by LanX (Saint) |
on Nov 22, 2022 at 09:20 UTC ( [id://11148300]=note: print w/replies, xml ) | Need Help?? |
you have to distinguish between console/terminal-window and a shell running within°, and you can run multiple shells nested within each other.² in your case portableshell.bat starts a fresh cmd° shell as a sub-process inside the current terminal window, after typing exit you'll be back to the outer powershell. compare
vs
Cheers Rolf °) that's mostly *nix speak, not sure how they call these on win ²) the motivation for the name "shell" is a surrounding process managing an environment for sub-processes
In Section
Seekers of Perl Wisdom
|
|