Hello, The ":execute" command returns the job id, so that code will always return "ok". One alternative is: # Create a temp global variable :global ABC "" # Execute the ping in background and get the jobId :local jobId [:execute {:global ABC [:ping count=5 192.168.88.1]...