fix: add inprogress activity
This commit is contained in:
parent
e63b15cb67
commit
00ae88b6b6
1 changed files with 3 additions and 0 deletions
|
|
@ -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(...));
|
||||
|
|
|
|||
Loading…
Reference in a new issue