#include <config.h>
-#include "systemcall.h"
-#include "os.h"
+#include "support/systemcall.h"
+#include "support/os.h"
#include <cstdlib>
string command = what;
if (how == DontWait) {
- if (os::shell() == os::UNIX) {
+ switch (os::shell()) {
+ case os::UNIX:
command += " &";
- } else {
- command = "start /min/n " + command;
+ break;
+ case os::CMD_EXE:
+ command = "start /min " + command;
+ break;
}
}