Skip to main content
Module

x/windows_service/mod.ts>WindowsService#ServiceMain

Deno library to seamlessly integrate your application as a Windows service without any external tools.
Latest
method WindowsService.prototype.ServiceMain
import { WindowsService } from "https://deno.land/x/windows_service@1.0.11/mod.ts";

ServiceMain function called by Service Control Manager (SCM).

Parameters

argc: number
  • Number of arguments.
argv: string[] | null
  • Array of argument strings.