diff options
Diffstat (limited to 'src/spawn.cpp')
| -rw-r--r-- | src/spawn.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp index ac8ccf30..f92387d5 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -29,6 +29,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QApplication>
#include <QMessageBox>
+#include <QtDebug>
+
#include <Shellapi.h>
@@ -91,6 +93,7 @@ static bool spawn(LPCWSTR binary, LPCWSTR arguments, LPCWSTR currentDirectory, PROCESS_INFORMATION pi;
BOOL success = FALSE;
if (hooked) {
+ qDebug() << "Creating process hooked: <" << QString::fromWCharArray(commandLine, length) <<">";
success = ::CreateProcessHooked(nullptr,
commandLine,
nullptr, nullptr, // no special process or thread attributes
|
