MedallionShell: Attaching to already running process
The idea is to extend curent Command.Run
API by adding:
public static Command AttachTo(int processId)
which would internally use Process.GetProcessById
.
What do you think?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (7 by maintainers)
Ok, thanks for all the information, I’ll keep you updated about the progress.
Yes, exactly. For me even having a common API is valuable enough, but resolving all this corner cases is much better.
Although in my initial proposition I proposed different version, just a little bit later I’ve realized that the try version would be the best option, so you’ve actually taken words from my mouth. One could also think to return enum instead of bool with possible values:
Good point.
Same thoughts.