Reputation: 5423
In a unix environment, often one can just run ps and see the exact command as it was invoked, including switches and any parameter values that it may have received.
I have a Windows executable that it would be valuable for debugging purposes if I could see just what values were passed in, after it is already running. Can this be done, either with the utilities already present in a Windows default install, or something that I could download?
Upvotes: 0
Views: 67
Reputation: 20163
On Windows 7 and newer (possibly Vista, but I don't have an install to check), the built-in Task Manager can do this. Go to the Processes
tab, then View->Select Columns->Command Line
.
Upvotes: 2
Reputation: 785
You can see this from Windows Task Manager, just a few clicks.
Upvotes: 1
Reputation: 2276
Sysinternals has a handy tool, process explorer. One of the column you can show for each process is the commandline.
Sysinternals is provided free from microsoft
Upvotes: 1