I'm using the Saxon9 old version to use the java runtime exec to execute a ruby script, this is the first time I'm trying out a runtime exec. I used the below code to run a ruby script it's not producing any results to value.
Due to a limitation, I'm unable to use the SaxonEE or Saxon PE so I'm trying to use the old version.
<xsl:variable name="javatest" select="runtime:exec(runtime:getRuntime(), 'ruby test.rb')" />
<xsl:variable name="waiting" select ="process:waitFor($javatest)" />
<xsl:value-of select="$javatest" />
The above code is not producing an actual result from the ruby script, It always generates results like java.lang.ProcessImpl@170c109
. Is this achievable in saxon9?