pike.git/
NT/
tools/
sprshd
Branch:
Tag:
Non-build tags
All tags
No tags
2000-12-29
2000-12-29 18:45:43 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
9d4c72c632c83d987166930b6c859490df6457e0 (
8
lines) (+
5
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
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];