灵符lingfu
F

fu.ling-lang.org

↓ 0 downloads

ทะเบียนแพ็กเกจ fu.ling-lang.org — เขียนด้วยภาษา Ling (ไทย) ทั้งหมด

Keywords registry, packages, web, ling, thai
lingfu install fu.ling-lang.org
LicenseApache-2.0 OR MIT
Authorsลิงลิน
READMECode / FilesVersionsDependency GraphDependentsSecurityBuildsSettings

Code / Files (22)

run_hidden.vbs
' run_hidden.vbs — launches the fu.ling-lang.org registry server with NO visible
' window and waits for it, so the Scheduled Task's auto-restart-on-failure works
' (the task stays "running" as long as the server does; if the server dies with a
' non-zero exit, the task restarts it). Server stdout/stderr go to server.log.
Option Explicit
Dim sh, proj, lingExe, cmd
Set sh = CreateObject("WScript.Shell")

proj    = "C:\Users\User\Programs\linglibs.ling-lang.org"
lingExe = "C:\Users\User\Programs\ling\target\debug\ling.exe"

sh.CurrentDirectory = proj

' cmd /c so we can redirect output to server.log (ling.ignore keeps *.log out of
' any published package). Window style 0 = hidden; True = wait for it to exit.
cmd = "cmd /c """"" & lingExe & """ run app.ling --listen ""0.0.0.0"" --port 6688 >> ""server.log"" 2>&1"""
sh.Run cmd, 0, True

← Back to index