Skip to content

Socket discovery doesn't work across multiple PowerShell versions #44

@EverlastingBugstopper

Description

@EverlastingBugstopper

Describe the bug

Once a socket has been opened on one version of PowerShell, other versions of PowerShell cannot send/read messages to/from the opened socket.

To Reproduce

Using LocalSocketStream::connect("@known-name.sock"):

  1. Run connect in one process in PowerShell 5, it should succeed and does
  2. Run connect in another process in PowerShell 7, it should fail, but succeeds

Expected behavior

Instead of the second connection succeeding, it should fail because there is already a process attached to that socket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions