pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

vim.vm.guest.ProcessManager.ListProcesses

Open remrozk opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

When we use vim.vm.guest.ProcessManager.ListProcesses to get the status of a list of PIDs, we get the following attributes:

  • name: str
  • pid: long
  • owner: str
  • cmdLine: str
  • startTime: datetime
  • endTime: Optional[datetime] = None
  • exitCode: Optional[int] = None

However, if the exitCode is not 0, we don't have information about stderr/stdout.

Describe the solution you'd like

Add two attributes:

  • stderr: str
  • stdout: str

Describe alternatives you've considered

No response

Additional context

No response

remrozk avatar Oct 31 '24 09:10 remrozk