Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: [implementation specific to windows] writing a proper batch file for terminal start-up

by swl (Curate)
on Oct 16, 2019 at 03:34 UTC ( #11107529=note: print w/replies, xml ) Need Help??


in reply to Re: [implementation specific to windows] writing a proper batch file for terminal start-up
in thread [implementation specific to windows] writing a proper batch file for terminal start-up

The issue is that Git for Windows comes with its own perl, as do other systems like MSYS2. If these are all in the path the simplest(?) solution is to ensure the one you want to use is pushed to the front of the path when it is needed.

In the case of Strawberry perl, the portable version comes with a script to do so, and this would appear to be the original source of the OP's script (or share a common source). See https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/master/share/portable/portableshell.bat.

  • Comment on Re^2: [implementation specific to windows] writing a proper batch file for terminal start-up

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11107529]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2019-12-08 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?