** $Id$
**
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
#elif defined(UNIX_PIPE_TO_PROCESSES)
int p[2];
-
+
if (pipe(p)) {
if(cb) cb->error(N_(msg));
else synfig::error(N_(msg));
return false;
};
-
+
pid = fork();
-
+
if (pid == -1) {
if(cb) cb->error(N_(msg));
else synfig::error(N_(msg));
return false;
}
-
+
if (pid == 0){
// Child process
// Close pipeout, not needed