Hi,

In article <[email protected]>,
           Raspi+MIPS<[email protected]> wrote:
> is there a way to execute several cli commands in one step, avoiding
> latencies from multiple connections?
>
> This gives me only the answer to the first query (artist):
>
>
> Code:
> --------------------
>     echo -e "$playermac artist ?\n$playermac album ?\n$playermac title 
> ?\nexit"| netcat 192.168.1.100 9090
> --------------------

Does adding a delay in help?

I think it's the '-i' switch to netcat.

So 

echo -e "...." | netcat -i 1 ip port

Andy

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to