|
|||||||||
|
|||||||||
|
|||
|
Hello,
I have write a small script a .sh file I satrt it in the phone using mobileterminal. My problem is that when I push the home butom to go in other app, the script stop working. I would like to have it still running when I go in other app. How can I do this, is there other way to have my small script running when I work on the Iphone. Maybe I must do something other than a script .sh ??? Help is welcome. Thanks |
|
|||
|
Really a big big thanks.
Yes I know about ps and kill. Thanks very much |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
You might need to use the unix command "nohup" It stops processes from being killed when a shell exits.
Ex. nohup sh foo.sh & (that is, if nohup is installed on the iPhone. I'm not sure if its a shell command or an executable. Maybe it's part of csh? I don't remember....) |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|