libidav/utils.c

changeset 741
e9a5dd08258d
parent 740
f4ef952ad98b
child 747
efbd59642577
equal deleted inserted replaced
740:f4ef952ad98b 741:e9a5dd08258d
1121 } 1121 }
1122 1122
1123 int util_exec_command(char *command, UcxBuffer *outbuf) { 1123 int util_exec_command(char *command, UcxBuffer *outbuf) {
1124 #ifdef _WIN32 1124 #ifdef _WIN32
1125 fprintf(stderr, "util_exec_command unsupported\n"); 1125 fprintf(stderr, "util_exec_command unsupported\n");
1126 return NULL; 1126 return 1;
1127 #else 1127 #else
1128 1128
1129 int pout[2]; 1129 int pout[2];
1130 if(pipe(pout)) { 1130 if(pipe(pout)) {
1131 perror("pipe"); 1131 perror("pipe");

mercurial