UM:Cli Cli Lock

From DigitalVision
Jump to: navigation, search

Darrow-up.png     Previous Next

Testing for a GUI Lock


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

Testing if the GUI is Running



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


Command :

$ film_master --testlock

$ echo $?



Return :


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



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


Darrow-up.png     Previous Next