I suffer from the very same issue. The original question more leads to the changes in executeCommandLine, which we try to understand and adopt the rule. Btw the rule based approach as alternative to network binding allows extraction of more data, when using json output speedtest-cli@@--json
, e.g. location parameters of client and server. Not really required, but available - and only after successful executeCommandLine.
Only swapping command and timeout +change to duration does not help:
var String speedtestCliOutput = executeCommandLine(Duration.ofSeconds(120),"/usr/bin/speedtest-cli@@--json")
, as described here: