Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose PID without using Command.Process.Id #16

Closed
rocky05475 opened this issue Jun 23, 2017 · 2 comments
Closed

Expose PID without using Command.Process.Id #16

rocky05475 opened this issue Jun 23, 2017 · 2 comments
Milestone

Comments

@rocky05475
Copy link

Because I want to use the DisposeOnExit feature and still get the PID.

@madelson
Copy link
Owner

@rocky05475 I guess the concern I have is that DisposeOnExit is supposed to be used when you are treating the process like a function call and not interacting with it as it runs. If you care about the PID, you probably don't want to use DisposeOnExit() since this means you want to interact with it.

Once a process exits, PID is meaningless because it could be assigned to another process.

Can you explain the use-case of wanting to use these features together?

@rocky05475
Copy link
Author

rocky05475 commented Jun 26, 2017 via email

@madelson madelson added this to the 1.4 milestone Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants