Consider this command
strings --radix=d --encoding={b,l} abc.exe >> xyz.txt
When I run this on the Ubuntu terminal it works without any problems. However when I use it through a python code:
import os
os.system("strings --radix=d --encoding={b,l} abc.exe >> xyz.txt")
Its not working. If I remove the "encoding" then it works fine in both cases. However, I need to get Unicode strings so that part is necessary. Anyone have any solutions?