File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
installers/go-agent/release Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ REM See the License for the specific language governing permissions and
1414REM limitations under the License.
1515REM *************************GO-LICENSE-END**********************************
1616
17+ cd /d " %~dp0 "
18+
1719IF " %DAEMON% " == " N" (
1820 START " go agent - %CD% " /WAIT agent.cmd
1921) ELSE (
Original file line number Diff line number Diff line change @@ -14,5 +14,7 @@ REM See the License for the specific language governing permissions and
1414REM limitations under the License.
1515REM *************************GO-LICENSE-END**********************************
1616
17+ cd /d " %~dp0 "
18+
1719FOR /F " tokens=2" %%I in ('TASKLIST /NH /FI " WINDOWTITLE eq go agent - %CD% - agent.cmd" ' ) DO TASKKILL /F /T /PID %%I
1820if exist .agent-bootstrapper.running del /Q .agent-bootstrapper.running
You can’t perform that action at this time.
0 commit comments