© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
24 replies
AngryAnt

❔ Gleaning process launch information from Process reference attained via GetProcessById?

Given a process ID I would like to determine all parameters necessary to relaunch that process (same parameters, environment, etc.). How could this be done?

I am currently monitoring the process via Process.GetProcessById and waiting for its exit, after which I do some processing. At the end of that processing I would like to relaunch the previously monitored process.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Capturing process output via OutputDataReceived event
C#CC# / help
3y ago
Use dll from project reference
C#CC# / help
4y ago
❔ Getting information from web api
C#CC# / help
3y ago
Process
C#CC# / help
4y ago