VMware Cloud Community
thechaos
Enthusiast
Enthusiast

How to get the process output from processManager.startProgramInGuest

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

Reply
0 Kudos
4 Replies
cdecanini_
VMware Employee
VMware Employee

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
thechaos
Enthusiast
Enthusiast

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

Reply
0 Kudos
cdecanini_
VMware Employee
VMware Employee

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
thechaos
Enthusiast
Enthusiast

Hi,

ok, will try that,

Thomas

Reply
0 Kudos