fix: add inprogress activity
This commit is contained in:
parent
e63b15cb67
commit
00ae88b6b6
@ -41,6 +41,9 @@ public function __construct(Activity $activity)
|
|||||||
|
|
||||||
public function __invoke(): ProcessResult
|
public function __invoke(): ProcessResult
|
||||||
{
|
{
|
||||||
|
$this->activity->properties = $this->activity->properties->merge([
|
||||||
|
'status' => ProcessStatus::IN_PROGRESS,
|
||||||
|
]);
|
||||||
$this->timeStart = hrtime(true);
|
$this->timeStart = hrtime(true);
|
||||||
|
|
||||||
$processResult = Process::run($this->getCommand(), $this->handleOutput(...));
|
$processResult = Process::run($this->getCommand(), $this->handleOutput(...));
|
||||||
|
Loading…
Reference in New Issue
Block a user