├── .gitattributes ├── README.md └── src ├── .gitignore ├── HandleTests ├── CreateProcess.cc ├── CreateProcess_Detached.cc ├── CreateProcess_Duplicate.cc ├── CreateProcess_Duplicate_PseudoHandleBug.cc ├── CreateProcess_Duplicate_XPPipeBug.cc ├── CreateProcess_InheritAllHandles.cc ├── CreateProcess_InheritList.cc ├── CreateProcess_NewConsole.cc ├── CreateProcess_UseStdHandles.cc ├── MiscTests.cc ├── Modern.cc ├── Traditional.cc ├── Win7_Conout_Crash.cc └── main.cc ├── LICENSE ├── Makefile ├── Test_GetConsoleTitleW.cc ├── Win7Bug_InheritHandles.cc ├── Win7Bug_RaceCondition.cc ├── configure ├── harness ├── Command.h ├── Event.cc ├── Event.h ├── FixedSizeString.h ├── NtHandleQuery.cc ├── NtHandleQuery.h ├── OsVersion.h ├── RemoteHandle.cc ├── RemoteHandle.h ├── RemoteWorker.cc ├── RemoteWorker.h ├── ShmemParcel.cc ├── ShmemParcel.h ├── Spawn.cc ├── Spawn.h ├── TestCommon.h ├── TestUtil.cc ├── TestUtil.h ├── UnicodeConversions.cc ├── UnicodeConversions.h ├── Util.cc ├── Util.h ├── WorkerProgram.cc └── pch.h ├── manifest.xml ├── shared ├── DebugClient.cc ├── DebugClient.h ├── OsModule.h ├── WinptyAssert.cc ├── WinptyAssert.h ├── c99_snprintf.h ├── winpty_wcsnlen.cc └── winpty_wcsnlen.h └── tests.mk /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/.gitattributes -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/README.md -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_Detached.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_Detached.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_Duplicate.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_Duplicate.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_Duplicate_PseudoHandleBug.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_Duplicate_PseudoHandleBug.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_Duplicate_XPPipeBug.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_Duplicate_XPPipeBug.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_InheritAllHandles.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_InheritAllHandles.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_InheritList.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_InheritList.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_NewConsole.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_NewConsole.cc -------------------------------------------------------------------------------- /src/HandleTests/CreateProcess_UseStdHandles.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/CreateProcess_UseStdHandles.cc -------------------------------------------------------------------------------- /src/HandleTests/MiscTests.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/MiscTests.cc -------------------------------------------------------------------------------- /src/HandleTests/Modern.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/Modern.cc -------------------------------------------------------------------------------- /src/HandleTests/Traditional.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/Traditional.cc -------------------------------------------------------------------------------- /src/HandleTests/Win7_Conout_Crash.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/Win7_Conout_Crash.cc -------------------------------------------------------------------------------- /src/HandleTests/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/HandleTests/main.cc -------------------------------------------------------------------------------- /src/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/LICENSE -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/Test_GetConsoleTitleW.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/Test_GetConsoleTitleW.cc -------------------------------------------------------------------------------- /src/Win7Bug_InheritHandles.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/Win7Bug_InheritHandles.cc -------------------------------------------------------------------------------- /src/Win7Bug_RaceCondition.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/Win7Bug_RaceCondition.cc -------------------------------------------------------------------------------- /src/configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/configure -------------------------------------------------------------------------------- /src/harness/Command.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Command.h -------------------------------------------------------------------------------- /src/harness/Event.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Event.cc -------------------------------------------------------------------------------- /src/harness/Event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Event.h -------------------------------------------------------------------------------- /src/harness/FixedSizeString.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/FixedSizeString.h -------------------------------------------------------------------------------- /src/harness/NtHandleQuery.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/NtHandleQuery.cc -------------------------------------------------------------------------------- /src/harness/NtHandleQuery.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/NtHandleQuery.h -------------------------------------------------------------------------------- /src/harness/OsVersion.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/OsVersion.h -------------------------------------------------------------------------------- /src/harness/RemoteHandle.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/RemoteHandle.cc -------------------------------------------------------------------------------- /src/harness/RemoteHandle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/RemoteHandle.h -------------------------------------------------------------------------------- /src/harness/RemoteWorker.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/RemoteWorker.cc -------------------------------------------------------------------------------- /src/harness/RemoteWorker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/RemoteWorker.h -------------------------------------------------------------------------------- /src/harness/ShmemParcel.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/ShmemParcel.cc -------------------------------------------------------------------------------- /src/harness/ShmemParcel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/ShmemParcel.h -------------------------------------------------------------------------------- /src/harness/Spawn.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Spawn.cc -------------------------------------------------------------------------------- /src/harness/Spawn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Spawn.h -------------------------------------------------------------------------------- /src/harness/TestCommon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/TestCommon.h -------------------------------------------------------------------------------- /src/harness/TestUtil.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/TestUtil.cc -------------------------------------------------------------------------------- /src/harness/TestUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/TestUtil.h -------------------------------------------------------------------------------- /src/harness/UnicodeConversions.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/UnicodeConversions.cc -------------------------------------------------------------------------------- /src/harness/UnicodeConversions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/UnicodeConversions.h -------------------------------------------------------------------------------- /src/harness/Util.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Util.cc -------------------------------------------------------------------------------- /src/harness/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/Util.h -------------------------------------------------------------------------------- /src/harness/WorkerProgram.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/WorkerProgram.cc -------------------------------------------------------------------------------- /src/harness/pch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/harness/pch.h -------------------------------------------------------------------------------- /src/manifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/manifest.xml -------------------------------------------------------------------------------- /src/shared/DebugClient.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/DebugClient.cc -------------------------------------------------------------------------------- /src/shared/DebugClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/DebugClient.h -------------------------------------------------------------------------------- /src/shared/OsModule.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/OsModule.h -------------------------------------------------------------------------------- /src/shared/WinptyAssert.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/WinptyAssert.cc -------------------------------------------------------------------------------- /src/shared/WinptyAssert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/WinptyAssert.h -------------------------------------------------------------------------------- /src/shared/c99_snprintf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/c99_snprintf.h -------------------------------------------------------------------------------- /src/shared/winpty_wcsnlen.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/winpty_wcsnlen.cc -------------------------------------------------------------------------------- /src/shared/winpty_wcsnlen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/shared/winpty_wcsnlen.h -------------------------------------------------------------------------------- /src/tests.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rprichard/win32-console-docs/HEAD/src/tests.mk --------------------------------------------------------------------------------