Query Daz Studio version from command line?

OmnifluxOmniflux 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.4

but 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

Sign In or Register to comment.