|Subject:||symlinked perl script opens separate console in Windows 8|
When I run symlinked perl scripts in Windows 8 that use Strawberry Perl as the interpreter they will open in a separate console window. This is undesirable because the separate window quickly closes and I can't see the output. Strawberry perl should use the existing console window, like it does in most Windows OSes under most circumstances. C:\temp>echo print "hi"; > hi.pl C:\temp>hi.pl hi C:\temp>mklink hilink.pl hi.pl symbolic link created for hilink.pl <<===>> hi.pl C:\temp>hilink.pl C:\temp>hi.pl hi I can reproduce this in a Windows 8 VM with strawberry-perl-18.104.22.168-64bit.msi. In a Windows 7 VM I cannot, it works as expected. In a Windows 10 VM (20H2) I can, but only the very first time after Strawberry Perl is installed. The first time I run a .pl script Windows will ask what I want to use to open .pl, and when I choose Strawberry Perl it will open the script in a separate window. Every time after that though it works as expected. I've attached an animated gif that shows the problem in Windows 8.
|Subject:||symlink perl script opens separate console.gif|
Download symlink perl script opens separate console.gif