fix: add inprogress activity

This commit is contained in:
Andras Bacsai 2023-03-31 09:41:41 +02:00
parent e63b15cb67
commit 00ae88b6b6

View File

@ -41,6 +41,9 @@ public function __construct(Activity $activity)
public function __invoke(): ProcessResult
{
$this->activity->properties = $this->activity->properties->merge([
'status' => ProcessStatus::IN_PROGRESS,
]);
$this->timeStart = hrtime(true);
$processResult = Process::run($this->getCommand(), $this->handleOutput(...));