fix: add inprogress activity
This commit is contained in:
@@ -41,6 +41,9 @@ class RunRemoteProcess
|
|||||||
|
|
||||||
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(...));
|
||||||
|
|||||||
Reference in New Issue
Block a user