I have a program in Windows 7 that launches ffmpeg in an external command prompt window but it is impossible to see what arguments were passed in.
Is there a way to see what arguments were given?
ProcessHacker (a Task Manager replacement) will display the command line arguments for any selected process:
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Example:
F:\test>cmd /c test.cmd
F:\test>echo off
Press any key to continue . . .
In ProcessHacker:
Select the process you are interested in.
There may be several cmd shell processes running and you will have to make sure you select the correct one. Hovering over the process name will show the command line so you know the correct one to select:
Right click and select "Properties" or just press Enter.
The resulting "Properties" dialog shows the command line used to start the process.
I am not affiliated with ProcessHacker in any way, I am just an end user of the software.
If you're using Win7 Home instead of professional you won't have gpedit.msc. Regedit to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit. Set key ProcessCreationIncludeCmdLine_Enabled = 1
Run the program that launches FFMEG