Branch: Tag:

2000-12-29

2000-12-29 18:45:43 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

stderr should now work properly

Rev: NT/tools/sprshd:1.24

85:   {    while(1)    { -  string s=pi->read(1000,1); +  string s=pi->read(1000,1); // Don't read more than 2<<24 :)    if(!s || !strlen(s)) break;    object key=outlock->lock(); -  io->write(sprintf("%c%3c%s",channel,strlen(s),channel,s)); +  io->write(sprintf("%c%3c%s",channel,strlen(s),s));    destruct(key);    }   }
109:    object pe=Stdio.File();   #ifdef NO_IPC    object p2=pi->pipe(); -  object p23=pi->pipe(); +  object pe2=pe->pipe();   #else -  +  object p2=pi->pipe(Stdio.PROP_IPC);    object pe2=pe->pipe(Stdio.PROP_IPC);   #endif    string dir=cmd[0];