Answer the question
In order to leave comments, you need to log in
How to find out with which parameter the program is launched?
Hey toaster.
You've helped me before, I hope you can help me this time too.
The situation is as follows: program 1 starts program 2 with some parameter (after all, it can only pass some information to it with a parameter, right?). How to find out which one?
OS - Windows, PL - C#
Answer the question
In order to leave comments, you need to log in
No programming language or OS specified. Therefore - GetCommandLine().
PS. Command line options are far from the only IPC method. There are at least Pipe, Socket, Shared Memory.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question