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

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jayadevu
Posts: 240
Joined: Tue May 19, 2009 7:10 am

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

Post 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
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

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

Post by AUGE_OHR »

hi,

Code: Select all

   cEnv := Getenv("APPDATA")
Jimmy
have fun
Jimmy
Post Reply