It can be useful to provide has_next() in the object returned by ssh_capture(), e.g. when we want to wait for a process to start. An example look like the following:
console_consumer_cmd = "..."
output = node.account.ssh_capture(console_consumer_cmd)
output.has_next() // wait until console_consumer has started
It can be useful to provide
has_next()in the object returned by ssh_capture(), e.g. when we want to wait for a process to start. An example look like the following: