mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +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;
|
return new EioDriver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (\strncasecmp(\PHP_OS, "WIN", 3) === 0) {
|
||||||
|
return new BlockingDriver;
|
||||||
|
}
|
||||||
|
|
||||||
return new ParallelDriver;
|
return new ParallelDriver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user