second argument is optional and its default argument is 0. If second argument is passed as 1, then GTK_MODULES and GNOME_ACCESSIBILITY will be added to the enivronment variable
from ldtputils import *
launchapp ('file-roller')
launchapp ('gaim', 1) # Invoke the application after setting environment variables
launchapp ('file-roller /home/ldtp/test.tar.gz', 0) # Invoke the application with optional command line argument
Shankar Ganesh <shagan.glare@gmail.com>