Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

%@fileopen[ "\\.\pipe\xxx", w ]% hangs

(ver /r output: TCC LE 13.04.63 x64 Windows 7 [Version 6.1.7601])

This batch file never terminates:
set np=%@fileopen["\\.\pipe\xxx",write]%
if %np%!=-1 set np=%@fileclose[%np%]%

FWIW, I think I recall seeing named pipes working in some earlier version of TCC or TCC/LE.
 
This batch file never terminates:
set np=%@fileopen["\\.\pipe\xxx",write]%
if %np%!=-1 set np=%@fileclose[%np%]%

Well, that's not quite true. If another process tries to open the same named pipe, the above open unblocks and returns a filehandle. Oddly, after that, the open runs without blocking whether or not any process holds a read handle for that pipe. It's as if only the original creation blocks, but somehow the pipe object hangs around even when nothing ostensibly references it.
 
Back
Top