Running a script from a script in android

i am trying to use an init.d script to execute another script in the background. The init.d script must continue immediatly after executing the other script in the background so my device can boot completely and then the executed script can do its commands. I have googled and found that the & symbol can be used at the end of the script name to execute it in the background. This worked, but my init.d script waited until the background script was finished. So i googled some more, and found that nohup command in use with & will do what i want. Perfect. HOWEVER when i used terminal emulator on android, i typed, nohup and i get "nohup: applet not found"

So as above i have no way of continuing the init.d script without it waiting for the background script. I am asking, Does anyone know how to run a script in the background while continuing the current script on android?

Or, does anybody know if i can add the "nohup" applet to my android device?

Thanks again to all who reply!


You can use daemonize to run your script:

Usage: daemonize [-f logfile] [-a] [-d delay] <program>

Need Your Help

Warning: Missing argument 2 for wpdb::prepare() plugin issue

php wordpress wordpress-plugin wordpress-theming

I updated WordPress to the latest version 3.6 and i got this warning in regards to the wpdb::prepare().

How do I write to the file I selected using filedialog.asksaveasfile?

python tkinter savefiledialog

I am trying to write to a file that I just created using the filedialog.asksaveasfile. I set the mode to 'w'. Do I have to open the file again or something?