You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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?
This is connected to my issue about killing process tree.
I'm using TASKILL to kill them.
That's why I need the PID :)
בתאריך יום ב׳, 26 ביוני 2017 ב-14:28 מאת madelson <[email protected]
:
@rocky05475 <https://github.com/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?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJAG1gzhcgk-qOxdC8PWUOniT-t1TCAoks5sH5XzgaJpZM4ODlgo>
.
Because I want to use the DisposeOnExit feature and still get the PID.
The text was updated successfully, but these errors were encountered: