Skip to content

Process.StartTime throws on Linux if process has already exited #125038

@drauch

Description

@drauch

Description

Querying myProcess.StartTime throws on Linux if process has already exited.

Reproduction Steps

Wait for the process to exit and query the StartTime property. Throws an exception.

Expected behavior

It should return the start time just like on Windows.

Actual behavior

It throws:

Unable to retrieve the specified information about the process or thread. It may have exited or may be privileged.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions