Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.

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
Your Name: Code Language: