Run Python app at startup

SMALLp pofuk at email.t-com.hr
Tue Mar 4 13:36:03 EST 2008


Gabriel Genellina wrote:
> En Sun, 02 Mar 2008 19:37:35 -0200, SMALLp <pofuk at email.t-com.hr> 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:
> 
> python prog.py
> Then, use console=... in setup.py, generate prog.exe
> Open a cmd window and execute prog.exe (from the dist directory)
> Repeat using window=... in setup.py
> 
> That whole sequence works fine using on my WinXP SP2 + Python 2.5.1 + 
> wxPython 2.8.7.1
> 
Program works fine. When i run it it works. Problem is how to make this 
aplication start at windows startup. It opens and it closes in my case.



More information about the Python-list mailing list