in reply to Re^4: AnyEvent::Socket -> Hosts File -> CR/LF Issue on windows?
in thread AnyEvent::Socket -> Hosts File -> CR/LF Issue on windows?

WSL isn't an unix emulation layer for Windows like Cygwin; it's a VM that let's you run a real Linux install, with its own file system and all. It's 100% not Windows. In comparison, you have access to Windows system calls in Cygwin, and you still use the same file system.

  • Comment on Re^5: AnyEvent::Socket -> Hosts File -> CR/LF Issue on windows?

Replies are listed 'Best First'.
Re^6: AnyEvent::Socket -> Hosts File -> CR/LF Issue on windows?
by LanX (Saint) on Feb 08, 2022 at 19:29 UTC
    We recently had the case that someone complained that he ran the same script on the same directory, but the second time a VM accessed the Win-FS. (can't find it immediately)

    I should also have added git-bash as example, which comes with a bundled Perl.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      I don't understand what you're trying to say.

      You can access the VM's file sys from without (\\WSL), and you can access the host's file sys from within (/mnt/c). But this is akin to accessing a file system on another machine, meaning it's all virtual drives/shares. The VM must be running, for example. This isn't done by accident.

      git-bash uses MSYS, right? I did mention that.