Skip to content

Code working on *nix silently failing on Windows #155

@ondrejmirtes

Description

@ondrejmirtes

Probably related to: #133

I had to make this change for the code to also work on Windows: phpstan/phpstan-src@8a7ae4f

Otherwise it silently failed and the loop stopped without writing that file.

  1. Is there anything I could change in the original code with pipe() that would make this work?
  2. Is there an edge case that would make the previous or current logic not work as expected? I followed some examples but I'm not sure about the code, for me it seems there should be some call like "wait for this stream to end before continuing", but maybe it's fine :)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions