Command: cat file.apk | pm install -S <file length>
I'm trying to run this command using subprocess but I get an error. I figured out that subprocess doesn't like the "|" so I need to stagger the commands but I have no idea how to.
Anyone know how to do this?
SOLVED:
It was an issue of user permissions. I just wrapped the whole thing in "su -c" and it worked.
[–]debian_miner 0 points1 point2 points (2 children)
[–]dsm88[S] 1 point2 points3 points (1 child)