Hello, Jeff
Thx for your advice, "wait reduce [cmd-port 0]" works, but:
There's a diffrence betwen
system/schemes/default/timeout: 0
if not error? try [data: first cmd-port][ data ]
and
if not error? try [data: first wait reduce [cmd-port 0]][ data ]
The first one can read data from cmd-port, while the second one can't.
When I run my >>port: run-cgi {wait 5 print "done"},
which inserts in cgi's default output (my cmd-port):
1.HTTP Header (becouse it's a cgi)
2."Command is about to execute" (for information)
..... waits 5 sec ......
3."done"
the first function reads "Command is about..." immediately, but the second
one not before 5 sec.
What's up?
-Pawel