filesystem icon indicating copy to clipboard operation
filesystem copied to clipboard

Bumped child process packages and open up Windows support again

Open WyriHaximus opened this issue 5 years ago • 14 comments

With the latest child process related packages adding support for windows again we can also open support for it again in this package

WyriHaximus avatar Apr 04 '19 19:04 WyriHaximus

@clue Whoops this was supposed to be a draft PR. Wanted to do one last test run before opening it. In short all communication on the underlying dependencies goes over sockets rather then STD* and they all support react/child-process v0.6 by passing an list of overwritten file descriptors.

WyriHaximus avatar Apr 05 '19 07:04 WyriHaximus

@WyriHaximus @clue 🏓 What's the current state on this PR?

ghost avatar Jul 09 '19 07:07 ghost

I agree that supporting the latest ChildProcess component makes perfect sense, but I don't see how this currently supports Windows? Perhaps split this into a separate follow-up PR?

For the reference, in case anybody's interested, here's an example how one could use socket I/O to communicate with a child process on Windows: https://github.com/clue/reactphp-sqlite/pull/13

clue avatar Jul 10 '19 09:07 clue

@WyriHaximus status?

ghost avatar Oct 05 '19 08:10 ghost

@CharlotteDunois right!

@clue the messenger pool switched to fully using sockets in that release

WyriHaximus avatar Oct 05 '19 11:10 WyriHaximus

@WyriHaximus That's great! Let's make this actionable, what makes this PR "WIP"?

clue avatar Oct 05 '19 14:10 clue

@clue I can't remember 🤐 , will have a check on my windows box tomorrow

WyriHaximus avatar Oct 05 '19 18:10 WyriHaximus

@clue Checked earlier today and it works on windows now. What do you think about adding an allowed to fail windows build on travis?

WyriHaximus avatar Oct 07 '19 15:10 WyriHaximus

@WyriHaximus That would be fantastic! See https://github.com/reactphp/child-process/pull/71 for possible Travis CI config.

clue avatar Oct 07 '19 15:10 clue

@clue added it to this PR :+1:

WyriHaximus avatar Oct 07 '19 15:10 WyriHaximus

You'll probably want to add this utility method to the tests for cross compatibility paths. https://github.com/reactphp/filesystem/pull/69/files#diff-d4c8c6dc8769324fc27cfdac19f05cafR122-R131

ghost avatar Oct 07 '19 19:10 ghost

@CharlotteDunois yup, I'll fix all the windows build issues in this PR 🤣

WyriHaximus avatar Oct 07 '19 19:10 WyriHaximus

@WyriHaximus status?

ghost avatar Apr 29 '20 18:04 ghost

@CharlotteDunois just rebased and pushed it, will have a better look tomorrow

WyriHaximus avatar Apr 29 '20 18:04 WyriHaximus