Hi,
How to ensure that the hb_processrun() function inherits the system path variable 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?
When executing the function
hb_processrun() from within a dos prompt, all the paths mentioned in the windows environment are inherited, but when executing hb_processrun() from within a windows program like one compiled with MiniGui, the paths as given in Windows environment variable is not available.
Are there any alternative ways to execute a windows program from within %APPDATA% directory through Harbour. The windows program itself can be run by giving full path, but the windows program is dependent on other programs defined in the path for proper execution.
Warm regards,
Jayadev