Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Method System.AttachConsole()


Method AttachConsole

int AttachConsole(int pid)

Description

Attaches calling process to a specific console.

Parameter pid
Note

Only available on certain Windows systems.

Returns

0 on success, non-zero otherwise.