<?php
Swoole\Coroutine\System::exec(string $cmd)
the location of Linux command.
[ 'code' => 0, 'signal' => 0, 'output' => '', ]
Alias: Swoole\Coroutine::exec
.
Execute Linux command within the conroutine context.
<?php
go(function() {
$ret = Co\System::exec("md5sum ".__FILE__);
});