isKeepAliveOn = true; $this->activity = remoteProcess($this->command, 'testing-host'); } public function runSleepingBeauty() { $this->isKeepAliveOn = true; $this->activity = remoteProcess('x=1; while [ $x -le 40 ]; do sleep 0.1 && echo "Welcome $x times" $(( x++ )); done', 'testing-host'); } public function runDummyProjectBuild() { $this->isKeepAliveOn = true; $this->activity = remoteProcess(<<activity?->refresh(); if (data_get($this->activity, 'properties.exitCode') !== null) { $this->isKeepAliveOn = false; } } }