• jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2027 from 2003/2/24
    From: po-RNO
    Quote:

    boot_wb wrote:
    NB - Doesn't WaitForPort loop indefinitely (with a default 1 second interval) if LOOP is not specified?
    If so, then the command above makes the script self-terminating after 30 loops, rather than extending its life to wait as long as needed. I admire 'self-terminating' as a principle in looping scripts :), but is this what was intended?


    No, WaitForPort waits for 10 seconds by default which was way too small value for my wireless PB at least. With the loop=30 it waits for 30 seconds, which was enough in my cases, but could of course be set to bigger too if felt like that.
  • »12.10.16 - 06:13
    Profile Visit Website