How to: Run Ping
var result = MosProcess.runAndWait('ping', 'google.com -n 1', 5000);
if (result.exitCode == 0)
return true;
return false;Last updated
var result = MosProcess.runAndWait('ping', 'google.com -n 1', 5000);
if (result.exitCode == 0)
return true;
return false;Last updated