mirror of
https://github.com/danog/file.git
synced 2024-11-29 20:09:10 +01:00
Use blocking driver on Windows
This commit is contained in:
parent
ad309f0cd2
commit
edc6c097c2
@ -42,6 +42,10 @@ function driver(): Driver {
|
||||
return new EioDriver;
|
||||
}
|
||||
|
||||
if (\strncasecmp(\PHP_OS, "WIN", 3) === 0) {
|
||||
return new BlockingDriver;
|
||||
}
|
||||
|
||||
return new ParallelDriver;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user