Changeset - c0d6f21bd8d0
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-13 21:14:33

Shouldn't this work? It helps at least.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -500,9 +500,11 @@ void loginuser(char *username, int secre
 
// Executors
 

	
 
void exec_blender(char *input, char *output, int frame) {
 
  char *frame_str;
 
  asprintf(frame,frame_str); // GNU/*nix compatible only, fix before releasing win32!
 
  int ret;
 
  /* SEGFAULTAGE :-D */
 
  char *cmd[] = { "blender", "-b", "-o", *output, *input, "-f", *frame, (char *)0 };
 
  char *cmd[] = { "blender", "-b", "-o", output, input, "-f", "aah", (char *)0 };
 
  ret = execv("/usr/bin/blender", cmd);
 

	
 
  // OHNOBINKI! ... check this... Its supposed to send a command back to the server and run the_finisher(); function which sets the frame status to complete.
0 comments (0 inline, 0 general)