Hi,
i'm testing the new interface for runing programs in the guest os. At the moment i'm using the VIX API (runPrograminGuest).
With the old API i can get the output of the command (which than will be processed by the workflow), with the new Interface i get only the exitCode from the program. So the question now is, is there something similar ?, and if no will this be implemented in the future.
Regards
Thomas
I have briefly looked at the workflows and it looks like it is not the case.
As a work around you could redirect the output to a file and use Copy file from Guest to vCO and use vCO fileReader.
Christophe.
Hi,
yes this might a workaround, as you might not get the output if the file write/copy fails. Is there a way to get this as feature request for the next version 😉
Regards
Thomas
You can always try to contact GSS / API support team to submit a feature request but then this will be going to the vCenter SDK API team.
They may give you an example implemtation of a work around.
Christophe.
Hi,
ok, will try that,
Thomas