Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

launchapp

Syntax

launchapp ('<application binary name>', [use additional environment variables for accessibility])

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

Description

Application name specified as an argument will be launched.

Implementation

Todo:
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/python/ldtputils.py

Example

Launch file-roller application.

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

Author:
Nagappan <nagappan@gmail.com>

Shankar Ganesh <shagan.glare@gmail.com>


Generated by  Doxygen 1.6.0   Back to index