Check with code if FinalBuilder is running a script
Is it possible to check if FinalBuilder is running a script with code?开发者_开发百科
I would like to make a small application that can remotely start building a project on a remote machine, but only if its not running a script already.
regards,
-VegarYou could always modify your final builder projects to write to an ini (or text file) when it starts, and delete the file when it completes. I would suggest the name of the project. That way if the file exists, then its busy compiling, and you can test to see what its compiling.
I can second Lars' recommendation of FinalBuilder Server. It allows you to launch and view the build progress through your webbrowser, and a single-user license is included with FinalBuilder Pro licenses, so you may already be covered.
I couldn't find any information on "Is running" in general, but if you're only interested in a single build script you could have the script create a "lock" file at the start and delete it at the end. The launcher app would just check if that file exists.
精彩评论