Pike v8.0 release 1738

Method System.FreeConsole()


Method FreeConsole

int FreeConsole()

Description

Detaches the calling process from its console.

Note

Before calling this function, Stdio.stderr, Stdio.stdout and Stdio.stdin must be closed.

Note

Only available on certain Windows systems.

Returns

0 on success, non-zero otherwise.