I am using a tool called Droidbox for experiment. The tool has a shell script droidbox.sh which I can invoke through terminal.
droidbox.sh takes one argument i.e path of the apk
Usage: ./droidbox.sh APK
I want to call the droidbox.sh through a shell script.
I wrote a shell script like
#!/bin/bash
ARG1="/home/xxx/a.apk"
/home/xxx/DroidBox_4.1.1/droidbox.sh "$ARG1"
I am getting error which says
python: can't open file 'scripts/droidbox.py': [Errno 2] No such file or directory
Can anybody point out what am I doing wrong?
droidbox.shis expecting to be run from theDroidBox_4.1.1directory (which presumably is where you are running it from manually). It can't find thescripts/droidbox.pyfile it expects in your current directory when you run that script. That's a poorly written script (not yours,droidbox.sh).