Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 133697
Status: new
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: raysatiro [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)

Attachments
symlink perl script opens separate console.gif



Subject: symlinked perl script opens separate console in Windows 8
Download (untitled) / with headers
text/plain 1024b
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-5.30.1.1-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
symlink perl script opens separate console.gif


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.