Paste
Pasted as C by azzick ( 15 years ago )
if ((proc = popen(command, "r")) == NULL )
{
fprintf(stderr, "send_sql: Can not open pipe\n");
return 2;
}
//Don't work without this hack!!!!
fflush(proc);
Revise this Paste
Parent: 22232
if ((proc = popen(command, "r")) == NULL )
{
fprintf(stderr, "send_sql: Can not open pipe\n");
return 2;
}
//Don't work without this hack!!!!
fflush(proc);