headless console

This commit is contained in:
Saeed Vaziry
2024-03-24 21:58:48 +01:00
parent f68d6c7ca2
commit 33594f2dba
10 changed files with 180 additions and 35 deletions

View File

@ -34,7 +34,7 @@ public function connect(bool $sftp = false): void
}
}
public function exec(string|array $commands, string $log = '', ?int $siteId = null): string
public function exec(string|array $commands, string $log = '', ?int $siteId = null, ?bool $stream = false): string
{
if ($log) {
$this->setLog($log, $siteId);