Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Symlinks with PAR::Packer not working on Windows

by Marshall (Canon)
on Jul 07, 2021 at 01:30 UTC ( #11134743=note: print w/replies, xml ) Need Help??


in reply to Symlinks with PAR::Packer not working on Windows

I don't have experience with pp, but a symlink is a directory entry on your machine. Your .exe won't have any idea about that. I didn't know (or would expect) that various scripts could "packed" into a single .exe. Each executable program would have its own .exe file. To the best of knowledge, there is no such thing as multiple exe's within one exe. Each script must have its own .exe.
  • Comment on Re: Symlinks with PAR::Packer not working on Windows

Replies are listed 'Best First'.
Re^2: Symlinks with PAR::Packer not working on Windows
by kaldor (Sexton) on Jul 08, 2021 at 19:07 UTC

    The .exe knows with what name it was called, that's how PAR::Packer knows which script to execute.

    Windows shortcuts are different from links, because they are regular files interpreted by Explorer or cmd.exe, which means that the .exe is called with its actual filename, whatever the shortcut name is.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-18 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?