[zloygod] ps aux now shows gajim, and killall gajim works. Fixes #1620

This commit is contained in:
Yann Leboulanger 2006-08-29 16:11:23 +00:00
parent 419925689b
commit 6e524e0b4f
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh
cd `dirname $0`/src
exec python -OOt gajim.py $@
exec -a gajim python -OOt gajim.py $@

View file

@ -29,4 +29,4 @@ fi
cd PREFIX/share/gajim/src
export PYTHONPATH="$PYTHONPATH:PREFIXLIB/gajim"
exec PYTHON_EXEC -OO gajim.py $@
exec -a gajim PYTHON_EXEC -OO gajim.py $@

View file

@ -41,6 +41,13 @@ from chat_control import ChatControlBase
from common import exceptions
try:
import dl
libc = dl.open('/lib/libc.so.6')
libc.call('prctl',15,'gajim\0',0,0,0)
except:
pass
try:
import gtk
except RuntimeError, msg: