process

process

Current process (ub executable)

Members

binPath: string static readonly

The full path to the UB executable

configPath: String static readonly

The path to the application configuration file

isDebug: Number static readonly

=== 1 if server executed with -dev command line switch.

isServer: Number static readonly

For server-side thread === 1, else (client thread) === 0

isWebSocketEnabled: Number static readonly

When WebSocket is enabled === 1 else not defined

isWebSocketServer: Number static readonly

In case this is WebSocket server-side thread === 1 else not defined

startupMode: string static readonly

The UB process startup mode. One of "Console", "CmdLine"