jaboda Posted June 30, 2021 Posted June 30, 2021 I'm using RunShellScript to run a Ping on WIndows. This works well if the host is working, but if it times out it pops up a ScriptMaster error and returns 'ERROR' instead of the Ping output. I'm not good with Groovy but it looks like it's not trapping the error output. Is there a way to do that with RunShellScript? Alternatively has someone created a Ping script for ScriptMaster?
jaboda Posted June 30, 2021 Author Posted June 30, 2021 It seems the same problem exists with the BaseElements Plugin as well (using BE_ExecuteSystemCommand).
john renfrew Posted August 16, 2021 Posted August 16, 2021 You can not ping in Java as it relies on ICMP https://stackoverflow.com/questions/11506321/how-to-ping-an-ip-address 1
jaboda Posted October 28, 2021 Author Posted October 28, 2021 On 6/30/2021 at 12:40 PM, jaboda said: It seems the same problem exists with the BaseElements Plugin as well (using BE_ExecuteSystemCommand). The new version of BaseElements has changed the library used for BE_ExecuteSystemCommand and it now works, so I could remove my hacky workaround .
Recommended Posts
This topic is 1464 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now