Hi
I don't get it. Why is the output not stored in the property after executing
sshexec ?
<sshexec host="${a_host}"
username="${a_name}"
password="${a_password}"
command=" test -d ${a_dir} ||
mkdir -m 777 ${a_dir};
cd ${a_dir};
exit $?; "
outputproperty="rc"
trust="true"/>
<echo message="inside ${a_dir} sshexec_rc = ${rc}"/>
But I get
[sshexec] Connecting to host1:22
Setting project property: rc ->
[echo] inside /rt/sm/pacs sshexec_rc =
Any help is appreciated on such an example or a workaround example to store
this return code.
Thanks