Query Daz Studio version from command line?
Omniflux
Posts: 442
Does anyone have a simple method to query the version of Daz Studio from the command line?
I was using this script with the -headless command line argument
System.println (App.getVersion())which produced this output
pg_ctl: no server runningwaiting for server to start.... doneserver startedpg_ctl: server is running (PID: 43908)C:/Program Files/DAZ 3D/PostgreSQL CMS/bin/postgres.exe "-D" "C:/Users/Omniflux/AppData/Roaming/DAZ 3D/cms/ContentCluster"pg_ctl: server is running (PID: 43908)C:/Program Files/DAZ 3D/PostgreSQL CMS/bin/postgres.exe "-D" "C:/Users/Omniflux/AppData/Roaming/DAZ 3D/cms/ContentCluster"4.24.0.4but the DzSystem print functions are deprecated and no longer print to stdout in DS6.
I can save a file with the string and read it back in, but that's just silly if there is another way.
Post edited by Omniflux on

Comments
Does it have to be via DS script? Doies this help? https://stackoverflow.com/questions/55654426/how-to-get-version-number-for-any-installed-program-using-cmd
Yes, I can use that (it is faster, even) and
on OS X.