Skip to content

Commit

Permalink
Use -Args
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Dec 13, 2024
1 parent a8be0e2 commit deda564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/libcalc/trace.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Procmon.exe /BackingFile log.pml /AcceptEula /LoadConfig libcalc.pmc /Minimized /Quiet
Start-Process -FilePath Procmon.exe /WaitForIdle -Wait
Start-Process -FilePath Procmon.exe -Args "/WaitForIdle" -Wait
Start-Process -FilePath ./example.exe -NoNewWindow -Wait
Start-Process -FilePath Procmon.exe /Terminate -Wait
Start-Process -FilePath Procmon.exe /OpenLog log.pml /LoadConfig libcalc.pmc /SaveAs log.csv /SaveApplyFilter -Wait
Start-Process -FilePath Procmon.exe -Args "/Terminate" -Wait
Start-Process -FilePath Procmon.exe -Args "/OpenLog log.pml /LoadConfig libcalc.pmc /SaveAs log.csv /SaveApplyFilter" -Wait
cat log.csv

0 comments on commit deda564

Please sign in to comment.