You Are Here:

Community: Developer Discussion Boards

#1 Old Killing system process - 2008-09-24, 03:09

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
I want to kill process like 'ScreenSaver[100056cf]0004',but it can't work by appswitch.kill_process.Why?
Thx.
Reply With Quote

#2 Old Re: Killing system process - 2008-09-24, 03:57

Join Date: Feb 2008
Posts: 2,544
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by yyn View Post
I want to kill process like 'ScreenSaver[100056cf]0004',but it can't work by appswitch.kill_process.Why?
Thx.
Hi
I havnt used this killprocess technique often but it is always better if you provide a bit more detail of your problem like what sort of errors due you get and what is the version of pys60 and appswitch you are using.

Enjoy pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: Killing system process - 2008-09-24, 04:54

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
>>> import appswitch
>>> appswitch.kill_process(u'ScreenSaver[100056cf]0004')
1
>>> appswitch.process_list()[20:50]
(u'EDbsrv[100012a5]0001', u'sae[1000590e]0001', u'SysAp[100058f3]0002', u'Phone[100058b3]0003', u'watcher[00000000]0001', u'SATSERVER[00000000]0001', u'ScreenSaver[100056cf]0004',
Reply With Quote

#4 Old Re: Killing system process - 2008-09-24, 05:05

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
u see,i can't kill the process(so the other system process is).my version is 1.44,and phone is 3230.
Reply With Quote

#5 Old Re: Killing system process - 2008-09-24, 05:35

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by yyn View Post
u see,i can't kill the process(so the other system process is).my version is 1.44,and phone is 3230.
Hello yyn

appswitch version is dokkis version not "official" because there's a new process_list() function in it and kill_process function added.

You can try this as said in this old post in the DiBo.

Code:
import appswitch # appswitch forked version from Dokkis !


appswitch.kill_process(u"ScreenSaver*")

appswitch.kill_process(u"*100056cf*")
If it doesn't work perhaps you don't have enough capabilities for killing processes ?

Are you using selfsigned or unsigned testrange Python Shell ?

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#6 Old Re: Killing system process - 2008-09-24, 07:04

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
i'd lost...
Reply With Quote

#7 Old Re: Killing system process - 2008-09-24, 10:46

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by yyn View Post
i'd lost...
And where are you lost ?

Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#8 Old Re: Killing system process - 2008-09-24, 12:09

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
i am not good at English.I'm a chinese boy,can u speak in chinese?~thnx.
Reply With Quote

#9 Old Re: Killing system process - 2008-09-24, 13:36

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by yyn View Post
i am not good at English.I'm a chinese boy,can u speak in chinese?~thnx.
Sorry I can't speak or understand Chinese language
But please try to explain your problem
We're have much patience !

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#10 Old Re: Killing system process - 2008-09-24, 14:34

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
Thank you.I just want to know how to kill system process because my 3230 phone has not enough memory to play game.Through appswitch i can't kill them,and do you have any ideas to killprocess?-What the code is?
Reply With Quote

#11 Old Re: Killing system process - 2008-09-24, 16:06

Join Date: Feb 2008
Posts: 2,544
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
hi yyn
have you signed your python script shell if not then get it first and then try the appswitch.kill_process.
Please have a look at this sticky thread for details of signing process.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#12 Old Re: Killing system process - 2008-09-24, 17:25

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
Why do i need to sign pyshell?My phone isn't s60 3rd,it's s60 2nd.Why?
Reply With Quote

#13 Old Re: Killing system process - 2008-09-24, 17:34

Join Date: Feb 2008
Posts: 2,544
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by yyn View Post
Why do i need to sign pyshell?My phone isn't s60 3rd,it's s60 2nd.Why?
HI yyn

pity on me i didnt observed that.
hope you dont mind that.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#14 Old Re: Killing system process - 2008-09-24, 17:48

Join Date: Jun 2008
Posts: 28
yyn
Offline
Registered User
Haha,Nothing.By the way,Binpda had cracked the sign...
Last edited by yyn : 2008-09-24 at 19:13.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Can the framework kill a process ? XXmapoXX General Symbian C++ 0 2007-12-17 15:26
How can i kill a system process aamitgupta General Symbian C++ 16 2007-12-10 20:52
Can't kill process when console is enabled alav General Symbian C++ 3 2007-11-28 20:07
System Help with nokia pc connectivity SDK gotka PC Suite API and PC Connectivity SDK 4 2004-07-06 10:56
S60 BUILD PROCESS FREEZES SYSTEM deloford Symbian Tools & SDKs 2 2003-02-23 15:48

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia