|
|
|
|
|
|
| Author |
Message |
Robert Brewer *nix forums beginner
Joined: 21 Feb 2005
Posts: 49
|
Posted: Sat Feb 05, 2005 8:01 pm Post subject:
RE: Python Processes for Win32
|
|
|
harlinseritt@yahoo.com wrote:
| Quote: | I have a daemon type script (daemon.py -- we'll say) that I would like
to have run continuously. I'd like to be able to do something like
this:
daemon.py start
... and then to have it stop I'd like to do this:
daemon.py stop
I am having a hard time googling for a clue as to how to accomplish
this. If anyone can point me in the right direction, I'd really
appreciate it.
|
Write a Windows service (natively, see
http://www.python.org/windows/win32 or using py2exe, see
http://starship.python.net/crew/theller/py2exe/).
Then use:
net start daemonsvc
net stop daemonsvc
Robert Brewer
MIS
Amor Ministries
fumanchu@amor.org |
|
| Back to top |
|
 |
Do Re Mi chel La Si Do *nix forums addict
Joined: 21 Feb 2005
Posts: 92
|
Posted: Sat Feb 05, 2005 10:07 am Post subject:
Re: Python Processes for Win32
|
|
|
Hi !
Look for "service" in PyWin
@-salutations
--
Michel Claveau |
|
| Back to top |
|
 |
Harlin Seritt *nix forums Guru Wannabe
Joined: 23 Feb 2005
Posts: 163
|
Posted: Sat Feb 05, 2005 8:41 am Post subject:
Python Processes for Win32
|
|
|
I have a daemon type script (daemon.py -- we'll say) that I would like
to have run continuously. I'd like to be able to do something like
this:
daemon.py start
.... and then to have it stop I'd like to do this:
daemon.py stop
I am having a hard time googling for a clue as to how to accomplish
this. If anyone can point me in the right direction, I'd really
appreciate it.
thanks,
Harlin |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 10:16 pm | All times are GMT
|
|
WoW Gold | Credit Card | The eBay Song | Credit Cards | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|