Here is the terminal output:
>
> [Bill-Vlahos-Computer:~] bvlahos% dns-sd -L "Play the Game" _playbodd._tcp .
> Lookup Play the Game._playbodd._tcp.local
> DATE: ---Sat 28 Sep 2013---
> 16:25:29.827 ...STARTING...
> 16:25:36.527 Play\032the\032Game._playbodd._tcp.local. can be reached at
> Bill-Vlahos-Computer.local.:45567 (interface 5)
> path=/game
When I execute this in LiveCode, the result returns, "process is not open for
read".
> put format("dns-sd -L \"Play the Game\" _playbodd._tcp .") into sProcess
> open process sProcess for text read
> read from process sProcess until "path=" in 400 milliseconds
> put the result into field "fGames"
If I comment the "read from process…" line the result is that the process is
open.
Any ideas why?
Bill Vlahos
On Sep 28, 2013, at 4:46 PM, Monte Goulding <[email protected]> wrote:
> You probably want to open process for read then read one line at a time while
> you are browsing
>
> Cheers
>
> --
> Monte Goulding
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode