Options
All
  • Public
  • Public/Protected
  • All
Menu

Module os-shim/windowsServiceDriver

Index

Functions

installService

  • installService(): Promise<boolean>
  • Installs the Windows service for the program.

    throws

    Error if the service could not be uninstalled.

    Returns Promise<boolean>

    Boolean indicating whether installation succeeded (true when installed, false when already installed).

startService

  • startService(): Promise<boolean>
  • Starts the Windows service for the program.

    throws

    Error if the service could not be started.

    Returns Promise<boolean>

    Boolean indicating whether start succeeded (true when started, false when already started).

stopService

  • stopService(): Promise<boolean>
  • Stops the Windows service for the program.

    throws

    Error if the service could not be stopped.

    Returns Promise<boolean>

    Boolean indicating whether stop succeeded (true when stopped, false when already stopped).

uninstallService

  • uninstallService(): Promise<boolean>
  • Uninstalls the Windows service for the program.

    throws

    Error if the service could not be uninstalled.

    Returns Promise<boolean>

    Boolean indicating whether uninstallation succeeded (true when uninstalled, false when already uninstalled).

Generated using TypeDoc