Windows program: how to track command line arguments?

I am trying to redesign a build system for a commercial Windows-based environment, so I can use make to create my project.

To complete the task, the program starts, and I need to know what command line arguments are passed to this program when it starts. However, the window viewer does not display command line arguments.

Is there any way to see which command line arguments are passed when the program starts?

(It actually occurred to me that I should replace the stub program with reading command line arguments. However, I would like to know if there is an easy way).

+3
source share
1 answer

Source: https://habr.com/ru/post/1717549/


All Articles