Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions distributions/openhab/src/main/resources/bin/karaf.bat
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ set STARTED_TARGET_LEVEL=10
set STOPPED_TARGET_LEVEL=0
> "%STARTLEVEL_FILE%" echo %STOPPED_TARGET_LEVEL%

set RUNHIDDEN=wscript //nologo "%TEMP%\runhidden.vbs"
> "%TEMP%\runhidden.vbs" echo CreateObject("Wscript.Shell").Run WScript.Arguments(0), 0, False
set RUNHIDDEN=wscript //nologo "%DIRNAME%runhidden.vbs"

if not exist "%DIRNAME%runhidden.vbs" (
call :warn Missing helper script: "%DIRNAME%runhidden.vbs"
goto END
)
Comment thread
andrewfg marked this conversation as resolved.
Outdated

echo Starting server...
set KARAF_HOME=
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CreateObject("Wscript.Shell").Run WScript.Arguments(0), 0, False