pike.git / NT / tools / lib.pike

version» Context lines:

pike.git/NT/tools/lib.pike:342:    s=replace(s,"\r\n","\n");    if(!silent) inout->write(s);    if(filter) ret+=s;    }    if(filter) filter(ret);    sscanf(f->read(4),"%4c",int code);    f->close("r");   // f->close("w");   // werror("Closing stdout.\n");    destruct(f); +  if(code > 127) +  { +  werror("Software failiure. Press left mouse button to continue.\r\n" +  " Guru meditation #%s\r\n", +  sprintf("%016X",code)/8*"."); +  code=127; +  }    return code;    }   }      string tmp;      string popen_cmd(string *cmd)   {    tmp="";    silent_do_cmd(cmd,lambda(string x) { tmp=x; }, 1);