Skip to content

IFrameworkHandle.LaunchProcessWithDebuggerAttached needs ability to control ProcessStartInfo #5171

Closed as not planned

Description

Description

I am trying to replace a situation with the xUnit.net v3 VSTest adapter where I launch the test project (out of process) and then attach via IFrameworkHandle2.AttachDebuggerToProcess. Ideally I'd use IFrameworkHandle.LaunchProcessWithDebuggerAttached.

However, I need the ability to redirect StandardInput and StandardOutput: https://github.com/xunit/xunit/blob/f529cc6fc0d3950daba1bcfeb7a95d88bcf1f374/src/xunit.v3.runner.utility/Frameworks/v3/Xunit3.cs#L376-L381

If I can't do that, then I can't use LaunchProcessWithDebuggerAttached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions