terminal/src/tools/nihilist/main.cpp
Dustin Howett d4d59fa339 Initial release of the Windows Terminal source code
This commit introduces all of the Windows Terminal and Console Host source,
under the MIT license.
2019-05-02 15:29:04 -07:00

17 lines
427 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include <windows.h>
// This application exists to be connected to a console session while doing exactly nothing.
// This keeps a console session alive and doesn't interfere with tests or other hooks.
int __cdecl wmain(int /*argc*/, WCHAR* /*argv[]*/)
{
while (true)
{
SleepEx(INFINITE, FALSE);
}
return 0;
}