|
@@ -110,7 +110,9 @@ namespace ToolCore
|
|
|
if (sourceFilePath.Length())
|
|
if (sourceFilePath.Length())
|
|
|
args.Push(sourceFilePath);
|
|
args.Push(sourceFilePath);
|
|
|
|
|
|
|
|
|
|
+#ifndef ATOMIC_PLATFORM_OSX
|
|
|
QuoteArguments(args);
|
|
QuoteArguments(args);
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
try
|
|
try
|
|
|
{
|
|
{
|
|
@@ -146,11 +148,15 @@ namespace ToolCore
|
|
|
args.push_back(idePath_.CString());
|
|
args.push_back(idePath_.CString());
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
+
|
|
|
|
|
+#ifdef ATOMIC_PLATFORM_OSX
|
|
|
|
|
+ args.push_back(sourceFilePath.CString());
|
|
|
|
|
+#else
|
|
|
if (sourceFilePath.Contains(" ") && !sourceFilePath.Contains("\""))
|
|
if (sourceFilePath.Contains(" ") && !sourceFilePath.Contains("\""))
|
|
|
args.push_back(("\"" + sourceFilePath + "\"").CString());
|
|
args.push_back(("\"" + sourceFilePath + "\"").CString());
|
|
|
else
|
|
else
|
|
|
args.push_back(sourceFilePath.CString());
|
|
args.push_back(sourceFilePath.CString());
|
|
|
-
|
|
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
Poco::Process::launch(command.CString(), args);
|
|
Poco::Process::launch(command.CString(), args);
|
|
|
|
|
|