Disconnect

3.1.4 Disconnect

DESCRIPTION

Disconnect - Disconnect from a desktop server. If there's no connection, the command does nothing. When the connection gets closed, predefined variables _MACHINE and _DISPLAY are cleared.


SYNOPSIS

disconnect 


RETURNS

The command returns 0 (zero) on success or 1 when it fails to disconnect.


EXAMPLES

JavaScript
Disconnect

- Disconnect from the currently connected desktop.