Yeah, this works, thank you Joseph.
The script on the unix side will typically be one that sets the following ProIV environment variables and then executes the pro executable.
It might like something like this:
export PROPATH=application / boots directory
export PRODATA=data directory
export PROTERM=terminal emulation (GUICLR or GUIDEV for a GUI session)
export PRORUNTYPE=RUN or DEV
There are a number of other options that you could use / set. If you also you a SQL database, you would need to set the SQL_DBTYPE, SQL_USERNAME, SQL_PASSWORD, SQL_DBNAME
If the script already exists and you are just trying to find it, try grep'ing all of your scripts for pro or PRORUNTYPE.