[maemo-developers] Python Launcher released
From: Jeffrey Barish jeff_barish at earthlink.netDate: Tue Apr 1 18:20:19 EEST 2008
- Previous message: Python Launcher released
- Next message: telepathy-sip bug
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
luciano.wolf at indt.org.br wrote: > It's a bit strange because it uses "which" to discover the real path. Did > you put your script in a visible path (e.g.: /usr/bin) with execution flag > (chmod +x)? If you run "which myapplication.py" it returns a valid path? Before Python Launcher, I always started myapplication.py using "python myapplication.py", which doesn't require changes to execution flag or path. As starting myapplication.py under Python Launcher uses the same command, it didn't occur to me that I needed to make any changes. With those changes, the program starts up fine under Python Launcher without the "./" prefix. Thanks. > By now the daemon only supports shutdown (python-launcher-daemon -s). This > stops the daemon but keeps running processes alive. The only way to kill > the last application is "ps -aux | grep python" and "kill -9 PID" where > PID is the last started python-daemon-launcher process. But would be > better to use this only if your app freezes. I asked because I am running myapplication from another machine using ssh and I am viewing the program from that machine using vnc. myapplication runs fullscreen, so there is no quit button that I can activate through the vnc interface. The only way to quit my application that I know of is to go to the N800 and push the Home key. It was more convenient to hit ^c in ssh, but the faster startup with Python Launcher may be worth the inconvenience. -- Jeffrey Barish
- Previous message: Python Launcher released
- Next message: telepathy-sip bug
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]