Hello,
I am writing a cross platform TurboFloatServer application for Windows, Mac OS X, and Linux.
I am using the following method to determine the status of activation and server status.
On Startup the application does the following:
TFS -a -config=path-to-config (No product key)
If I get a successful return then I set the following state flags:bool ServerIsActivated=truebool ServerIsInstalled=false
If I get a failure return then I scan the output (STDERR) of the TFS process:
Case 1) Check to see if the output matches the text "You can only run one instance"bool ServerIsActivated=truebool ServerIsInstalled=true
Case 2) Some other error was returnedbool ServerIsActivated=falsebool ServerIsInstalled=false
Is this a reliable method of gathering TFS status information ?
Thanks,Paul Fossey