in CMD windows, I am using below, it is workable, and csv file have data,
adb shell “run-as com.aaa.bb.ccctest cat /data/data/com.aaa.bb.ccctest/files/123_export_xxx.csv” > 123_export_xxx9.csv
but I am using below python scripts and run, in abc folder , can see 123_export_xxx9.csv file but the csv file is empty, no data,
import os
zz = “””adb shell “run-as com.logitech.vc.kirbytest cat data/data/com.aaa.bb.ccctest/files/123_export_xxx.csv” > c:UsersuserDesktopabc123_export_xxx9.csv “””
print(zz)
os.system(zz)
please guide me how to modify the python script, thank you so much.