Page 1 of 1

hb_processrun(): How to inherit path given in system environment

Posted: Thu Apr 06, 2023 8:23 am
by jayadevu
Hi,

How to ensure that the hb_processrun() function inherits the system path variable from within HMG app to enable execution of a windows program located in %APPDATA% directory which in turn is dependent on programs defined in the path variable for proper execution?


I am sure one of our friends in this group would have come across this problem before.

I have also posted this in harbour group:
https://groups.google.com/g/harbour-users/c/68XRtAgBuQs

Warm regards,

Jayadev

Re: hb_processrun(): How to inherit path given in system environment

Posted: Thu Apr 06, 2023 8:55 am
by AUGE_OHR
hi,

Code: Select all

   cEnv := Getenv("APPDATA")
Jimmy