dotnet / dotnet/docs

Add Process conceptual article or tutorial

Open
#29,941 0 comments 0 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

I had no problem finding this article: https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.waitforexit?view=net-6.0, gut it did not tell me how to start a process with a timeout, and either it is not intuitive, or I have another issue.

I am trying to run `dotnet build` in an xunit test. Still not successful at that, but the feedback is around process start. The article above has no information and the links in it offer different approaches with no explanation. I think it would be super helpful to have a tutorial of some type on starting a process, from why you want to handling timeouts (still not working correctly), and if there are special warnings or issues around doing it in major test frameworks, that would be good too. And async.

I have no idea where it fits, but it should be super easy to get to it from all of the process API that it explains.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 3cbdde85-09dd-c0c5-724c-50cee3c4da18
* Version Independent ID: 9a3e1a10-1b76-69ae-e3f5-2e030aceb351
* Content: [Runtime libraries overview](https://docs.microsoft.com/en-us/dotnet/standard/runtime-libraries-overview)
* Content Source: [docs/standard/runtime-libraries-overview.md](https://github.com/dotnet/docs/blob/main/docs/standard/runtime-libraries-overview.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @tdykstra
* Microsoft Alias: **gewarren**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.