Skip to content
Snippets Groups Projects
Commit 9ba97c4b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Windows: Get objdump output as string

Otherwise we have to guess the encoding of the host system
parent df626712
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ SYSTEM_LIBS = ['advapi32.dll',
def get_dependencies(filename):
deps = []
try:
data = subprocess.check_output(["objdump", "-p", filename])
data = subprocess.getoutput("objdump -p %s" % filename)
except Exception as error:
print(error)
return deps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment