Viktor Szakáts wrote: > > hbide properly detects the executable name > from hbmk2 output, but doesn't to complete > it to a proper path if no or relative path is > present in detected output executable name. > > Such completion should properly "emulate" > the behavior of hbmk2 for the case when no > absolute output directory is used. In normal > case it should be able to run the output > name as is. >
This can be the solution. > My guess is that it fails in HBIDE because > HBIDE _does change current dir_, which is > a dangerous thing to do in general and will > mess up any process which rely on current dir > (IOW any process which uses no or relative paths), > such as running a relative filename got from > hbmk2. So IMO HBIDE should never try to alter > current dir, or if it does, it should adjust > all relative filenames accordingly. > Your assumption is wrong. For build process it stays in the project location folder. For execution, because it has to be done in detatched manner, it does not follow the project path and loose its track which can either be set by proper -o switch or providing the execuatble path in "Start in" field of Project Properties. > F.e.: > curdir = C:\work\ > filename = proj\my.exe > after changing curdir, should be: > curdir = C:\myoutput\ > filename = C:\work\proj\my.exe > > The other option is to use -run hbmk2 option > to let hbmk2 do the launching. > No, this is not the option. If -hbrun is switched on, executable will not show up if it is a console application. GUI appln will show up but will run in the hbIDE's process space and will block hbIDE until it is exited. ----- enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://harbour-devel.1590103.n2.nabble.com/Question-regardin-the-good-hbide-tp5040280p5097368.html Sent from the harbour-devel mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour