projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy up to use one list of servers.
[dcpomatic.git]
/
src
/
lib
/
cross.cc
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 73e45213c5ad0724c4bd371d886ea41bfd4bf823..7c05ba2226182f39f9ec85d697899fe349cfbb44 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-36,6
+36,7
@@
extern "C" {
#undef DATADIR
#include <shlwapi.h>
#include <shellapi.h>
#undef DATADIR
#include <shlwapi.h>
#include <shellapi.h>
+#include <fcntl.h>
#endif
#ifdef DCPOMATIC_OSX
#include <sys/sysctl.h>
#endif
#ifdef DCPOMATIC_OSX
#include <sys/sysctl.h>
@@
-382,7
+383,6
@@
start_batch_converter (boost::filesystem::path dcpomatic)
#if defined(DCPOMATIC_LINUX) || defined(DCPOMATIC_OSX)
pid_t pid = fork ();
if (pid == 0) {
#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));
}
int const r = system (batch.string().c_str());
exit (WEXITSTATUS (r));
}