I have some code that starts a process by using Process.Start(ProcessStartInfo). I see from the documentation that this method can return null if an existing process is reused.
[Returns a] new Process component that is associated with the process resource, or null if no process resource is started (for example, if an existing process is reused).
What does it mean for an existing process to be reused and under what circumstances will this happen?
This would happen if you call pass a file (not an EXE), and the file is configured to launch using DDE.
For example, this is how Office applications open files in existing instances.
2.1m questions
2.1m answers
60 comments
57.0k users