#undef DATADIR
#include <shlwapi.h>
#include <shellapi.h>
+#include <fcntl.h>
#endif
#ifdef DCPOMATIC_OSX
#include <sys/sysctl.h>
#if defined(DCPOMATIC_LINUX) || defined(DCPOMATIC_OSX)
pid_t pid = fork ();
if (pid == 0) {
- std::cout << "start " << batch << " from " << dcpomatic << "\n";
int const r = system (batch.string().c_str());
exit (WEXITSTATUS (r));
}