Windows: Get objdump output as string
Otherwise we have to guess the encoding of the host system
This commit is contained in:
parent
df62671217
commit
9ba97c4be3
|
@ -47,7 +47,7 @@ SYSTEM_LIBS = ['advapi32.dll',
|
||||||
def get_dependencies(filename):
|
def get_dependencies(filename):
|
||||||
deps = []
|
deps = []
|
||||||
try:
|
try:
|
||||||
data = subprocess.check_output(["objdump", "-p", filename])
|
data = subprocess.getoutput("objdump -p %s" % filename)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
print(error)
|
print(error)
|
||||||
return deps
|
return deps
|
||||||
|
|
Loading…
Reference in New Issue