Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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.