pike.git / NT / tools / lib.pike

version» Context lines:

pike.git/NT/tools/lib.pike:30: Inside #if 0
   case "WINE":   #if 0    if(!silent && !filter)    {    return Process.create_process(({"wine",cmd*" "}))->wait();    }    else   #endif    {    object o=f->pipe(Stdio.PROP_BIDIRECTIONAL | Stdio.PROP_IPC); -  object proc=Process.create_process(({"wine", +  cmd=({"wine", +  "-winver","win95",    "-debugmsg","fixme-all", -  cmd*" "}), -  (["stdout":o])); +  "-debugmsg","trace+all", +  "-debugmsg","+relay", +  cmd*" "}); + // werror("WINE %O\n",cmd); +  object proc=Process.create_process(cmd,(["stdout":o]));    destruct(o);    while(1)    {    string s=f->read(8192,1);    if(!s || !strlen(s)) break;    s=replace(s,"\r\n","\n");    if(!silent) write(s);    ret+=s;    }    if(filter) filter(ret);