hello everyone.
how can i suppress the results.txt from appearing after a run.
i am iterating through a list of inputs
========================================
for /f "tokens=* delims=" %i in (permutations.txt) do (I:\DrMemory\bin\drmemory c_program.exe %i >> output.txt)
I:\.cprogs\permutations>for /f "tokens=* delims=" %i in (permutations.txt) do (I:\DrMemory\bin\drmemory c_program.exe %i >> output.txt)
I:\.cprogs\permutations>(I:\DrMemory\bin\drmemory c_program.exe 1 2 3 4 5 1>>output.txt )
~~Dr.M~~ Dr. Memory version 2.5.0
~~Dr.M~~ Running "c_program.exe 1 2 3 4 5"
~~Dr.M~~ Using system call file I:\DrMemory\drmemory\logs\symcache\syscalls_wow64.txt
~~Dr.M~~
~~Dr.M~~ Error #1: INVALID HEAP ARGUMENT to free 0x016906b0
~~Dr.M~~ # 0 replace_RtlFreeHeap [d:\a\drmemory\drmemory\common\alloc_replace.c:3852]
~~Dr.M~~ # 1 aswhook.dll!? +0x0 (0x74b9aa1f <aswhook.dll+0xaa1f>)
~~Dr.M~~ # 2 aswhook.dll!? +0x0 (0x74b9ac7b <aswhook.dll+0xac7b>)
~~Dr.M~~ # 3 ntdll.dll!LdrxCallInitRoutine
~~Dr.M~~ # 4 ntdll.dll!LdrpCallInitRoutine
~~Dr.M~~ # 5 ntdll.dll!LdrShutdownProcess
~~Dr.M~~ # 6 ntdll.dll!RtlExitUserProcess
~~Dr.M~~ # 7 KERNEL32.dll!ExitProcessImplementation
~~Dr.M~~ # 8 ucrtbase.dll!exit +0xe3 (0x76c53074 <ucrtbase.dll+0x43074>)
~~Dr.M~~ # 9 ucrtbase.dll!exit +0x10 (0x76c52fa1 <ucrtbase.dll+0x42fa1>)
~~Dr.M~~ #10 __tmainCRTStartup
~~Dr.M~~ #11 mainCRTStartup
~~Dr.M~~ #12 KERNEL32.dll!BaseThreadInitThunk
~~Dr.M~~ Note: @0:00:00.874 in thread 2460
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
~~Dr.M~~ 0 unique, 0 total handle leak(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 16 unique, 21 total, 10137 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: I:\DrMemory\drmemory\logs\DrMemory-c_program.exe.6120.000\results.txt
I:\.cprogs\permutations>(I:\DrMemory\bin\drmemory c_program.exe 5 4 3 2 1 1>>output.txt )
The process cannot access the file because it is being used by another process.
I:\.cprogs\permutations>(I:\DrMemory\bin\drmemory c_program.exe 2 3 4 5 1 1>>output.txt )
The process cannot access the file because it is being used by another process.
I:\.cprogs\permutations>(I:\DrMemory\bin\drmemory c_program.exe 3 4 5 1 2 1>>output.txt )
The process cannot access the file because it is being used by another process.
I:\.cprogs\permutations>
===========================================
but the process is blocked by the generation of the results.txt file
after the first run
thanks