Run Python app at startup

Gabriel Genellina gagsl-py2 at
Mon Mar 3 08:15:27 CET 2008

En Sun, 02 Mar 2008 19:37:35 -0200, SMALLp <pofuk at> escribi�:

> Hy.
> I create simple application. Yust an windows and "compile" it with
> py2exe. I add registry  value
> reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run  
> /v
> MyApp /t REG_SZ /d C:\myapp.exe /f'
> And it wont start. When i use console instead od window in py2exe i get
> console opend but it closes.

I'd check in this order:

Then, use console=... in, generate prog.exe
Open a cmd window and execute prog.exe (from the dist directory)
Repeat using window=... in

That whole sequence works fine using on my WinXP SP2 + Python 2.5.1  
+ wxPython

Gabriel Genellina

More information about the Python-list mailing list