P is for Practical | |
PerlMonks |
Re: Windows 10 Command Promptby Marek1415 (Acolyte) |
on Apr 28, 2020 at 20:39 UTC ( [id://11116171]=note: print w/replies, xml ) | Need Help?? |
Actually exit exits perl program and returns value, it doesn't close terminals. It looks as if you opened cmd then ran perl program which will kill cmd. You can run program using perl interpreter directly which will close terminal immediately after finishing script. You can also add something like this but this will kill all command prompts.
In Section
Seekers of Perl Wisdom
|
|