JBoss ON interpreting quoted strings including spaces as multiple arguments when executing script server resources

Solution Unverified - Updated -

Issue

  • script server execution not passing quoted strings that include spaces as a single argument
  • Arguments with messages having spaces, gives error
  • Quoted strings including spaces in arguments in executed as multiple arguments
  • Operation argument is split into multiple arguments at spaces
  • Escaped spaces have no affect

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • Script management plug-in for JBoss ON
  • Invoking the Execute operation on Script Server resource
  • Setting the Arguments property to a value that includes a string enclosed in quotes containing a space -- for example: arg1 "arg 2" arg3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content