Skip to content

Commit

Permalink
Blocking garbage output on non-windows platform (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibragins authored Nov 13, 2024
1 parent 1785b7e commit 0c3bd3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/command.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os
import platform

from utils import constants


Expand Down Expand Up @@ -48,5 +50,7 @@ def build_analysis_command(binary_name, source, target, is_bulk=False, **kwargs)
if value:
command += ' ' + value

if platform.system() != 'Windows':
command += ' 2>&1 | grep -vi ".metadata"'
print(command)
return command

0 comments on commit 0c3bd3c

Please sign in to comment.