Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to make a python program run on startup and stay running in the backgorund in a manner that would allow me to access it at any time?

I found some articles on how to make it run in the background so that's not much of an issue but I don't know how to make it run in the background?

Basically what I want to do is that I want that program to be a "monitor" that always displays a collection of information that I can access at any time using a hotkey or something. So how can I make that program run at start up?

Thanks in advance, Sherif

share|improve this question

migrated from stackoverflow.com Mar 14 '13 at 20:26

This question came from our site for professional and enthusiast programmers.

3  
it would help if you told us what OS you're running... –  MattDMo Mar 14 '13 at 19:05
    
I suppose you could launch it inside of screen if you're on a *nix system. You could also have it listen to a socket and interact that way. –  Jeff Ferland Mar 14 '13 at 19:06
    
I'm running windows 7 –  Sherif Aziz Mar 14 '13 at 19:10

1 Answer 1

To make python program run in background : pythonw your_script.py

You should add this to the following registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.