Difference between revisions of "UM:Cli Cli Lock"

From DigitalVision
Jump to: navigation, search
m (Upload page Cli_Cli_Lock)
(No difference)

Revision as of 12:29, 24 June 2014

Darrow-up.png     Previous Next

Testing for a GUI Lock

--testlock

Test if the GUI has a lock (and therefore GUI is open)

Testing if the GUI is Running

--testlock

 

This command will test if the GUI is open (and the application is holding a lock file).

 

Command :

$ film_master --testlock

$ echo $?

0

 

Return :

 

0 : GUI is not running (no lock)
1 : GUI is running (lock held)

 

dv_note

This must be the first argument on the command-line.

 

Darrow-up.png     Previous Next