Project

General

Profile

Feature #2504

real environment access for OS-GETENV

Added by Greg Shah over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD

History

#1 Updated by Greg Shah over 9 years ago

Today we map OS-GETENV to the JVM System.getProperty() which does not real from real environment variables, but instead reads properties created by the JVM or passed to the JVM at instantiation using the -D command line parameter.

But most Progress apps actually rely heavily upon child processes for integration with other apps and the OS itself. This often means that real environment variables are in use and are needed to make everything work.

We already have the native code written to properly read environment vars directly in the client process. Switch out the System.getProperty() approach in FileSystemDaemon.getProperty() and go to an approach that first attempts to read the environment using native code and then if not found, reads from System.getProperty() as a fall-back.

#2 Updated by Greg Shah about 8 years ago

  • Status changed from New to Closed
  • Assignee set to Eugenie Lyzenko
  • Start date deleted (01/26/2015)
  • % Done changed from 0 to 100

The change to add this feature was put into branch 1896c which was merged to trunk as revision 10990.

#3 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF