| 46 | { |
| 47 | #ifdef _WIN32 |
| 48 | bool isRedirected(DWORD nStdHandle) |
| 49 | { |
| 50 | DWORD fileType = GetFileType(GetStdHandle(nStdHandle)); |
| 51 | |
| 52 | return (fileType == FILE_TYPE_DISK) || (fileType == FILE_TYPE_PIPE); |
| 53 | } |
| 54 | |
| 55 | bool attachParentConsole() |
| 56 | { |
no outgoing calls
no test coverage detected