Skip to content

Warning: exec(): Unable to fork #675

@niceboyat

Description

@niceboyat

win10下cmd运行:
swoole-cli -f ./test.php

test.php文件代码:
<?php exec('dir', $str, $code); ?>

出现这个错误:

Warning: exec(): Unable to fork [dir] in /usr/bin/test.php on line 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions