Jump to content
Server Maintenance This Week. ×

RunShellScript doesn't trap error output


This topic is 911 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
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 :).

Link to comment
Share on other sites

This topic is 911 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.