On 29/09/2013, at 1:12 PM, Bill Vlahos <bvla...@mac.com> wrote:

> 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?

Have you checked if it's already open? Use the openProcesses

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to