Commit 593d4037 authored by ussrhero's avatar ussrhero
Browse files

fixed output mask

parent efa1c300
......@@ -3,7 +3,7 @@
#define PYKDEXT_VERSION_MAJOR 2
#define PYKDEXT_VERSION_MINOR 0
#define PYKDEXT_VERSION_SUBVERSION 0
#define PYKDEXT_VERSION_BUILDNO 21
#define PYKDEXT_VERSION_BUILDNO 22
#define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x)
......
......@@ -306,6 +306,10 @@ static const std::regex shebangRe("^#!\\s*python([2,3])(?:\\.(\\d))?$");
static volatile long recursiveGuard = 0L;
#ifndef DEBUG_OUTPUT_STATUS
#define DEBUG_OUTPUT_STATUS 0x00000400
#endif
extern "C"
HRESULT
CALLBACK
......@@ -314,9 +318,9 @@ py(
PCSTR args
)
{
ULONG oldMask;
client->GetOutputMask(&oldMask);
client->SetOutputMask( (oldMask & ~DEBUG_OUTPUT_PROMPT) | DEBUG_OUTPUT_STATUS);
try {
......@@ -394,7 +398,6 @@ py(
{
std::wstring scriptFileNameW = _bstr_t(scriptFileName.c_str());
//
std::vector<std::wstring> argws(opts.args.size());
if ( !scriptFileNameW.empty() )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment