Forking in windows. Possible?

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Dec 12 17:16:28 EST 2006


dakman at gmail.com ha escrito:

> I know under mac/*nix it's possible to fork the proccess to the
> background and exit the parent process. I have used this on a couple of
> my projects, but right now I am working on a project that will be
> required to run in the background, I have considered using the .pyw
> extension on my files, but there will be parts of the program that will
> be required to show the console. So if anyone has an ideas...

The usual way for Windows background processes that need user
interaction, is to provide an icon in the Taskbar Notification Area
(next to the clock). You can look at the win32gui_taskbar demo in the
pywin32 package.

-- 
Gabriel Genellina




More information about the Python-list mailing list