diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-03-15 10:14:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-03-15 10:14:23 (GMT) |
commit | cc52853c15833c9a18be11c140b99d94d9e06e9e (patch) | |
tree | 5300b179faf00eea740dda6ee3be5343c70b1c79 /src/portable.cpp | |
parent | eb591296685b8268427173e0a24f74abd987170d (diff) | |
download | Doxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.zip Doxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.tar.gz Doxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.tar.bz2 |
Release-1.5.1-20070315
Diffstat (limited to 'src/portable.cpp')
-rw-r--r-- | src/portable.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/portable.cpp b/src/portable.cpp index 94f8c20..8a0d6e5 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -127,7 +127,10 @@ int portable_system(const char *command,const char *args,bool commandHasConsole SHELLEXECUTEINFO sInfo = { sizeof(SHELLEXECUTEINFO), /* structure size */ - SEE_MASK_NOCLOSEPROCESS | SEE_MASK_FLAG_NO_UI, /* leave the process running */ + SEE_MASK_NOCLOSEPROCESS | SEE_MASK_FLAG_NO_UI, /* tell us the process + * handle so we can wait till it's done | + * do not display msg box if error + */ NULL, /* window handle */ NULL, /* action to perform: open */ command, /* file to execute */ @@ -334,12 +337,12 @@ const char *portable_ghostScriptCommand() #endif } -const char *portable_dotCommand() +const char *portable_commandExtension() { #if defined(_WIN32) && !defined(__CYGWIN__) - return "dot.exe"; + return ".exe"; #else - return "dot"; + return ""; #endif } |