From c96e429f4a70dd63fd1faf27d7be8fc63be59260 Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Sat, 5 Dec 2009 01:11:00 +0000 Subject: [PATCH] need some include files there --- pandatool/src/mayaprogs/mayapath.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandatool/src/mayaprogs/mayapath.cxx b/pandatool/src/mayaprogs/mayapath.cxx index 5dbb8fba8a..fc85959a3f 100755 --- a/pandatool/src/mayaprogs/mayapath.cxx +++ b/pandatool/src/mayaprogs/mayapath.cxx @@ -18,6 +18,8 @@ #include "dtoolbase.h" #include "filename.h" +#include "dSearchPath.h" +#include "executionEnvironment.h" #include #if defined(_WIN32) @@ -158,9 +160,11 @@ main(int argc, char *argv[]) { #ifdef _WIN32 // Windows case. char *command_line = strdup(GetCommandLine()); + cout << "command_line: " << command_line << "\n"; STARTUPINFO startup_info; PROCESS_INFORMATION process_info; GetStartupInfo(&startup_info); + cout << "os_command: " << os_command.c_str() << "\n"; BOOL result = CreateProcess(os_command.c_str(), command_line, NULL, NULL, true, 0,