UM:Cli Cli Lock
From DigitalVision
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) |