Skip to content

Commit

Permalink
changed line to remove powershell start-process
Browse files Browse the repository at this point in the history
  • Loading branch information
drodriguez-305 committed Jul 30, 2024
1 parent 728ce78 commit 3a06aff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions c8run/c8run_cgpt_version.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
@echo on

REM set constants
set CAMUNDA_VERSION=8.6.0-alpha3
Expand Down Expand Up @@ -143,7 +143,8 @@ if "%1"=="start" (
echo (Hint: you can find the log output in the 'elasticsearch.log' file in the 'log' folder of your distribution.)
echo.
set ELASTICSEARCH_LOG_FILE=%PARENTDIR%\log\elasticsearch.log
powershell -Command "Start-Process -NoNewWindow -FilePath '%PARENTDIR%\elasticsearch-%ELASTICSEARCH_VERSION%\bin\elasticsearch.bat' -ArgumentList '-E', 'xpack.ml.enabled=false', '-E', 'xpack.security.enabled=false' -RedirectStandardOutput '%ELASTICSEARCH_LOG_FILE%' -RedirectStandardError '%ELASTICSEARCH_LOG_FILE%' -PassThru" > "%ELASTIC_PID_PATH%"
start "" cmd /c "%PARENTDIR%\elasticsearch-%ELASTICSEARCH_VERSION%\bin\elasticsearch.bat -E xpack.ml.enabled=false -E xpack.security.enabled=false > "%ELASTICSEARCH_LOG_FILE%" 2> "%ELASTICSEARCH_LOG_ERR_FILE%""
echo %! > "%ELASTIC_PID_PATH%"

REM check if a Camunda Run instance is already in operation
if exist "%PID_PATH%" (
Expand Down

0 comments on commit 3a06aff

Please sign in to comment.