explorer: using ShellOpen under windows and Execute for calling ide under linux until...
[ede] / explorer / src / ExplorerWindow.ec
index 13406f1..20747ee 100644 (file)
@@ -305,6 +305,7 @@ class ExplorerWindow : Window
       {
          if(node.type.isFile)
          {
+         #ifndef __WIN32__
             char command[MAX_LOCATION];
             /*_FileType t = node.type;
             if(t == ewsFile || t == epjFile ||
@@ -315,7 +316,10 @@ class ExplorerWindow : Window
                sprintf(command, "ide %s", node.path);
             /*else
                sprintf(command, "%s", node.path);*/
-            ShellOpen(command);
+            Execute(command);
+         #else
+            ShellOpen(node.path);
+         #endif
          }
          return true;
       }