Why on Linux only(!) Worker::runAll PARSE COMMAND LINE PARAMS?! #1022
AlexFirelord
started this conversation in
General
Replies: 1 comment 1 reply
-
First of all, workerman supports Windows and Linux platforms, but many of Workerman's core functions are limited under the Windows platform, that’s why workerman have the logic shown in the title, For example, the important PHP extensions PCNTL and POSIX which workerman relies on can only be used under Unix-Like platforms. The specific differences are explained in detail in the documentation here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
...
$usage = "Usage: php yourfile [mode]...";
...
if (!$command) {
exit($usage);
}
What logic hides beneath that behavior I wonder???
Beta Was this translation helpful? Give feedback.
All reactions