Is there a way to determine - from within a running progress program - where the current workspace folder is located? I would like to read in all database connections from the file:
[workspace]\.metadata\.plugins\com.openedge.pdt.project\databaseConnection.xml
But in order to do that the program needs to know where it is.
How about os-getenv( "WRKDIR" )
Hello,
When you run a launch configuration, there are set of environment variables that are passed to the process.
You should be able to use ECLIPSE_WORK:
MESSAGE OS-GETENV("ECLIPSE_WORK").
You can use Process Explorer to look at the Environment variables passed to a process.
Thanks egarcia, it seems to work like a charm!